-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdefault.conf
More file actions
90 lines (81 loc) · 4.16 KB
/
Copy pathdefault.conf
File metadata and controls
90 lines (81 loc) · 4.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
---
# Vagrant Box type:
vagrant_box: "ubuntu/xenial64"
#vagrant_url: "http://files.vagrantup.com/precise32.box"
# ***********************************************************************************************
# Collection of commands executed on VM side
# ***********************************************************************************************
vm_bootstrap:
- "sudo apt-get install -y mc htop"
# ***********************************************************************************************
# General Settings
# ***********************************************************************************************
# VM User Name and Password
vm_username: "ubuntu"
vm_userpass: "ubuntu"
# NOTE: If you need to run multiple instances of VM, set a unique hostname, machine name, and IP
# address for each instance.
# VM Host Name and Machine Name (if machine name not defined will used same as hostname)
vm_hostname: "emlinux"
vm_machname: "emlinux"
# emLinux-tools release version ("0.1.0", "0.1.1", ...) or actual develop version ("develop")
# The develop version will be installed into dir: /opt/emlinux
vm_emlinux: "develop"
# ***********************************************************************************************
# Networks
# ***********************************************************************************************
# 'ip:' - Static IP address. Must not collide with any other machines on the same network
# If not set, Vagrant will use DHCP client
# 'bridge:' - A default interface name in host OS used for bridge. If not set, Vagrant show
# selection menu when VM boot
# 'access:' - Access type: "public_network" / "private_network"
# 'enabled:' - Use 'true' for enable network pipe or 'false' for not use it
vm_networks:
- access: "public_network"
#bridge: "enp2s0"
enabled: true
# ***********************************************************************************************
# Synced Folders:
# ***********************************************************************************************
# 'localpath:' - Path to local directory, example: '.'
# 'destpath:' - Path to destination directory, example: '/home/{{ vm_username }}/sync'
# 'exclude:' - List of dirs which will excluded from local path, example: [.git, .vagrant]
# 'type:' - The type of synced folder [nfs|rsync|smb]. If not specified, Vagrant
# will automatically choose the best option for your environment.
# 'create:' - If true, the host path will be created if it does not exist. Defaults to false.
# 'id:' - The name for the mount point of this synced folder in the guest machine.
# This shows up when you run mount in the guest machine.
# 'mopts:' - mount options
# 'enabled:' - Use 'true' for enable synced folder or 'false' for not use it
vm_folders:
- localpath: "sync"
destpath: "/home/{{ vm_username }}/sync"
create: true
enabled: false
# ***********************************************************************************************
# Persistent storage (experimental):
# ***********************************************************************************************
# 'size:' - Disk size in MB, default: 5000
# 'location:' - Path to local image, default: 'work.vdi'
# 'destpath:' - Path to destination directory, example: '/mnt/work'
# 'fstype:' - Filesystem type: 'ext3', 'ext4', ...
# 'mopts:' - The list of mount options: ['default', ...]
# 'enabled:' - Use 'true' for enable synced folder or 'false' for not use it
vm_pstorage:
size: 5000
fstype: "ext4"
location: "work.vdi"
destpath: "/mnt/work"
enabled: false
# ***********************************************************************************************
# VirtualBox Settings:
# ***********************************************************************************************
# Disk Size in GB reserved for VM. This parameter must have installed "vagrant-disksize" plugin.
# (The default disk size of ubuntu/xenial64 is 10GB, uncomment it if want increase the disk size)
#vm_disksize: 50
# RAM Size in MB reserved for VM
vm_memory: 2048
# Count of CPU's reserved for VM
vm_cpus: 2
# Use GUI interface (true or false)
vm_gui: false