vagrant-unbundled 2.2.6.1 → 2.2.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (247) hide show
  1. checksums.yaml +4 -4
  2. data/.hashibot.hcl +14 -0
  3. data/CHANGELOG.md +153 -2
  4. data/README.md +5 -7
  5. data/bin/vagrant +23 -0
  6. data/contrib/README.md +1 -0
  7. data/contrib/bash/completion.sh +13 -1
  8. data/contrib/sudoers/linux-suse +2 -2
  9. data/contrib/zsh/_vagrant +736 -0
  10. data/contrib/zsh/generate_zsh_completion.rb +166 -0
  11. data/lib/vagrant.rb +25 -0
  12. data/lib/vagrant/action.rb +8 -0
  13. data/lib/vagrant/action/builder.rb +193 -38
  14. data/lib/vagrant/action/builtin/box_add.rb +15 -7
  15. data/lib/vagrant/action/builtin/box_check_outdated.rb +12 -15
  16. data/lib/vagrant/action/builtin/cleanup_disks.rb +56 -0
  17. data/lib/vagrant/action/builtin/cloud_init_setup.rb +127 -0
  18. data/lib/vagrant/action/builtin/cloud_init_wait.rb +30 -0
  19. data/lib/vagrant/action/builtin/delayed.rb +26 -0
  20. data/lib/vagrant/action/builtin/disk.rb +52 -0
  21. data/lib/vagrant/action/builtin/handle_box.rb +3 -1
  22. data/lib/vagrant/action/builtin/handle_forwarded_port_collisions.rb +28 -9
  23. data/lib/vagrant/action/builtin/has_provisioner.rb +36 -0
  24. data/lib/vagrant/action/builtin/mixin_provisioners.rb +20 -1
  25. data/lib/vagrant/action/builtin/mixin_synced_folders.rb +20 -21
  26. data/lib/vagrant/action/builtin/set_hostname.rb +5 -1
  27. data/lib/vagrant/action/builtin/ssh_run.rb +21 -3
  28. data/lib/vagrant/action/builtin/synced_folders.rb +10 -0
  29. data/lib/vagrant/action/builtin/trigger.rb +37 -0
  30. data/lib/vagrant/action/hook.rb +76 -23
  31. data/lib/vagrant/action/runner.rb +11 -26
  32. data/lib/vagrant/action/warden.rb +28 -22
  33. data/lib/vagrant/box.rb +5 -4
  34. data/lib/vagrant/box_metadata.rb +17 -3
  35. data/lib/vagrant/bundler.rb +265 -53
  36. data/lib/vagrant/cli.rb +4 -2
  37. data/lib/vagrant/errors.rb +61 -1
  38. data/lib/vagrant/machine.rb +56 -6
  39. data/lib/vagrant/machine_index.rb +27 -1
  40. data/lib/vagrant/plugin/manager.rb +25 -14
  41. data/lib/vagrant/plugin/v2/command.rb +6 -2
  42. data/lib/vagrant/plugin/v2/components.rb +6 -0
  43. data/lib/vagrant/plugin/v2/manager.rb +67 -0
  44. data/lib/vagrant/plugin/v2/plugin.rb +13 -0
  45. data/lib/vagrant/plugin/v2/synced_folder.rb +50 -0
  46. data/lib/vagrant/plugin/v2/trigger.rb +64 -25
  47. data/lib/vagrant/shared_helpers.rb +28 -0
  48. data/lib/vagrant/ui.rb +51 -5
  49. data/lib/vagrant/util.rb +1 -0
  50. data/lib/vagrant/util/ansi_escape_code_remover.rb +1 -1
  51. data/lib/vagrant/util/caps.rb +48 -0
  52. data/lib/vagrant/util/credential_scrubber.rb +1 -1
  53. data/lib/vagrant/util/curl_helper.rb +8 -5
  54. data/lib/vagrant/util/directory.rb +19 -0
  55. data/lib/vagrant/util/downloader.rb +7 -3
  56. data/lib/vagrant/util/file_checksum.rb +6 -2
  57. data/lib/vagrant/util/guest_hosts.rb +68 -0
  58. data/lib/vagrant/util/guest_inspection.rb +9 -1
  59. data/lib/vagrant/util/install_cli_autocomplete.rb +118 -0
  60. data/lib/vagrant/util/io.rb +7 -27
  61. data/lib/vagrant/util/ipv4_interfaces.rb +15 -0
  62. data/lib/vagrant/util/is_port_open.rb +8 -20
  63. data/lib/vagrant/util/map_command_options.rb +33 -0
  64. data/lib/vagrant/util/network_ip.rb +11 -1
  65. data/lib/vagrant/util/numeric.rb +69 -0
  66. data/lib/vagrant/util/platform.rb +8 -1
  67. data/lib/vagrant/util/powershell.rb +1 -1
  68. data/lib/vagrant/util/subprocess.rb +9 -1
  69. data/lib/vagrant/vagrantfile.rb +1 -1
  70. data/plugins/commands/autocomplete/command/install.rb +49 -0
  71. data/plugins/commands/autocomplete/command/root.rb +64 -0
  72. data/plugins/commands/autocomplete/plugin.rb +18 -0
  73. data/plugins/commands/box/command/outdated.rb +14 -2
  74. data/plugins/commands/cloud/locales/en.yml +1 -1
  75. data/plugins/commands/cloud/publish.rb +1 -1
  76. data/plugins/commands/destroy/command.rb +6 -2
  77. data/plugins/commands/snapshot/command/save.rb +13 -8
  78. data/plugins/commands/ssh_config/command.rb +1 -1
  79. data/plugins/communicators/ssh/communicator.rb +25 -24
  80. data/plugins/communicators/winrm/config.rb +1 -1
  81. data/plugins/communicators/winrm/helper.rb +1 -1
  82. data/plugins/communicators/winrm/shell.rb +1 -1
  83. data/plugins/communicators/winssh/communicator.rb +126 -38
  84. data/plugins/communicators/winssh/config.rb +3 -7
  85. data/plugins/guests/alpine/cap/change_host_name.rb +10 -11
  86. data/plugins/guests/alpine/cap/rsync.rb +1 -1
  87. data/plugins/guests/alpine/plugin.rb +16 -0
  88. data/plugins/guests/alt/cap/change_host_name.rb +40 -53
  89. data/plugins/guests/arch/cap/change_host_name.rb +5 -14
  90. data/plugins/guests/arch/cap/configure_networks.rb +27 -10
  91. data/plugins/guests/atomic/cap/change_host_name.rb +5 -14
  92. data/plugins/guests/centos/cap/flavor.rb +24 -0
  93. data/plugins/guests/centos/guest.rb +9 -0
  94. data/plugins/guests/centos/plugin.rb +20 -0
  95. data/plugins/guests/darwin/cap/change_host_name.rb +10 -6
  96. data/plugins/guests/darwin/cap/mount_vmware_shared_folder.rb +99 -13
  97. data/plugins/guests/darwin/plugin.rb +5 -0
  98. data/plugins/guests/debian/cap/change_host_name.rb +11 -11
  99. data/plugins/guests/debian/cap/configure_networks.rb +14 -6
  100. data/plugins/guests/esxi/cap/public_key.rb +3 -1
  101. data/plugins/guests/freebsd/cap/change_host_name.rb +10 -6
  102. data/plugins/guests/gentoo/cap/change_host_name.rb +14 -22
  103. data/plugins/guests/haiku/cap/rsync.rb +19 -0
  104. data/plugins/guests/haiku/plugin.rb +15 -0
  105. data/plugins/guests/linux/cap/change_host_name.rb +46 -0
  106. data/plugins/guests/linux/cap/halt.rb +9 -1
  107. data/plugins/guests/linux/cap/mount_smb_shared_folder.rb +16 -0
  108. data/plugins/guests/linux/cap/mount_virtualbox_shared_folder.rb +4 -11
  109. data/plugins/guests/linux/cap/persist_mount_shared_folder.rb +62 -0
  110. data/plugins/guests/linux/cap/reboot.rb +48 -0
  111. data/plugins/guests/linux/plugin.rb +20 -0
  112. data/plugins/guests/omnios/cap/change_host_name.rb +10 -16
  113. data/plugins/guests/openbsd/cap/change_host_name.rb +10 -6
  114. data/plugins/guests/photon/cap/change_host_name.rb +9 -15
  115. data/plugins/guests/pld/cap/change_host_name.rb +11 -17
  116. data/plugins/guests/redhat/cap/change_host_name.rb +10 -5
  117. data/plugins/guests/redhat/cap/flavor.rb +3 -1
  118. data/plugins/guests/redhat/cap/nfs_client.rb +2 -2
  119. data/plugins/guests/redhat/cap/smb.rb +20 -0
  120. data/plugins/guests/redhat/plugin.rb +5 -0
  121. data/plugins/guests/slackware/cap/change_host_name.rb +11 -17
  122. data/plugins/guests/solaris11/plugin.rb +5 -0
  123. data/plugins/guests/suse/cap/change_host_name.rb +13 -12
  124. data/plugins/guests/windows/cap/public_key.rb +3 -3
  125. data/plugins/guests/windows/cap/reboot.rb +2 -1
  126. data/plugins/hosts/darwin/cap/fs_iso.rb +49 -0
  127. data/plugins/hosts/darwin/cap/nfs.rb +11 -0
  128. data/plugins/hosts/darwin/plugin.rb +15 -0
  129. data/plugins/hosts/linux/cap/fs_iso.rb +49 -0
  130. data/plugins/hosts/linux/cap/nfs.rb +21 -2
  131. data/plugins/hosts/linux/cap/rdp.rb +1 -1
  132. data/plugins/hosts/linux/plugin.rb +10 -0
  133. data/plugins/hosts/windows/cap/fs_iso.rb +48 -0
  134. data/plugins/hosts/windows/cap/rdp.rb +1 -1
  135. data/plugins/hosts/windows/plugin.rb +15 -0
  136. data/plugins/kernel_v2/config/cloud_init.rb +126 -0
  137. data/plugins/kernel_v2/config/disk.rb +221 -0
  138. data/plugins/kernel_v2/config/ssh_connect.rb +24 -0
  139. data/plugins/kernel_v2/config/vm.rb +225 -11
  140. data/plugins/kernel_v2/config/vm_provisioner.rb +17 -3
  141. data/plugins/kernel_v2/config/vm_trigger.rb +6 -5
  142. data/plugins/providers/docker/action.rb +8 -17
  143. data/plugins/providers/docker/action/forwarded_ports.rb +2 -0
  144. data/plugins/providers/docker/action/prepare_forwarded_port_collision_params.rb +61 -0
  145. data/plugins/providers/docker/cap/has_communicator.rb +11 -0
  146. data/plugins/providers/docker/communicator.rb +1 -1
  147. data/plugins/providers/docker/driver.rb +73 -10
  148. data/plugins/providers/docker/errors.rb +4 -0
  149. data/plugins/providers/docker/executor/local.rb +7 -1
  150. data/plugins/providers/docker/plugin.rb +5 -0
  151. data/plugins/providers/hyperv/action.rb +2 -0
  152. data/plugins/providers/hyperv/action/configure.rb +8 -0
  153. data/plugins/providers/hyperv/action/export.rb +4 -2
  154. data/plugins/providers/hyperv/cap/cleanup_disks.rb +54 -0
  155. data/plugins/providers/hyperv/cap/configure_disks.rb +200 -0
  156. data/plugins/providers/hyperv/cap/validate_disk_ext.rb +34 -0
  157. data/plugins/providers/hyperv/config.rb +5 -0
  158. data/plugins/providers/hyperv/driver.rb +90 -9
  159. data/plugins/providers/hyperv/plugin.rb +25 -0
  160. data/plugins/providers/hyperv/scripts/attach_disk_drive.ps1 +28 -0
  161. data/plugins/providers/hyperv/scripts/dismount_vhd.ps1 +13 -0
  162. data/plugins/providers/hyperv/scripts/get_vhd.ps1 +16 -0
  163. data/plugins/providers/hyperv/scripts/get_vm_status.ps1 +1 -1
  164. data/plugins/providers/hyperv/scripts/list_hdds.ps1 +17 -0
  165. data/plugins/providers/hyperv/scripts/new_vhd.ps1 +31 -0
  166. data/plugins/providers/hyperv/scripts/remove_disk_drive.ps1 +25 -0
  167. data/plugins/providers/hyperv/scripts/resize_disk_drive.ps1 +18 -0
  168. data/plugins/providers/hyperv/scripts/set_enhanced_session_transport_type.ps1 +24 -0
  169. data/plugins/providers/hyperv/scripts/set_vm_integration_services.ps1 +3 -3
  170. data/plugins/providers/hyperv/scripts/utils/VagrantVM/VagrantVM.psm1 +14 -6
  171. data/plugins/providers/virtualbox/action.rb +14 -1
  172. data/plugins/providers/virtualbox/action/clean_machine_folder.rb +10 -1
  173. data/plugins/providers/virtualbox/action/export.rb +4 -2
  174. data/plugins/providers/virtualbox/action/forward_ports.rb +2 -2
  175. data/plugins/providers/virtualbox/action/import.rb +8 -4
  176. data/plugins/providers/virtualbox/action/prepare_clone_snapshot.rb +4 -2
  177. data/plugins/providers/virtualbox/action/snapshot_delete.rb +4 -2
  178. data/plugins/providers/virtualbox/action/snapshot_restore.rb +4 -2
  179. data/plugins/providers/virtualbox/cap/cleanup_disks.rb +85 -0
  180. data/plugins/providers/virtualbox/cap/configure_disks.rb +440 -0
  181. data/plugins/providers/virtualbox/cap/mount_options.rb +35 -0
  182. data/plugins/providers/virtualbox/cap/validate_disk_ext.rb +34 -0
  183. data/plugins/providers/virtualbox/driver/base.rb +15 -0
  184. data/plugins/providers/virtualbox/driver/meta.rb +17 -2
  185. data/plugins/providers/virtualbox/driver/version_5_0.rb +217 -2
  186. data/plugins/providers/virtualbox/driver/version_6_1.rb +39 -0
  187. data/plugins/providers/virtualbox/model/storage_controller.rb +135 -0
  188. data/plugins/providers/virtualbox/model/storage_controller_array.rb +100 -0
  189. data/plugins/providers/virtualbox/plugin.rb +38 -0
  190. data/plugins/providers/virtualbox/synced_folder.rb +1 -0
  191. data/plugins/provisioners/ansible/cap/guest/alpine/ansible_install.rb +44 -0
  192. data/plugins/provisioners/ansible/cap/guest/arch/ansible_install.rb +20 -3
  193. data/plugins/provisioners/ansible/cap/guest/debian/ansible_install.rb +4 -5
  194. data/plugins/provisioners/ansible/cap/guest/fedora/ansible_install.rb +2 -2
  195. data/plugins/provisioners/ansible/cap/guest/freebsd/ansible_install.rb +2 -2
  196. data/plugins/provisioners/ansible/cap/guest/pip/pip.rb +8 -4
  197. data/plugins/provisioners/ansible/cap/guest/redhat/ansible_install.rb +2 -2
  198. data/plugins/provisioners/ansible/cap/guest/suse/ansible_install.rb +2 -1
  199. data/plugins/provisioners/ansible/cap/guest/ubuntu/ansible_install.rb +3 -3
  200. data/plugins/provisioners/ansible/plugin.rb +5 -0
  201. data/plugins/provisioners/ansible/provisioner/base.rb +1 -1
  202. data/plugins/provisioners/container/client.rb +203 -0
  203. data/plugins/provisioners/container/config.rb +83 -0
  204. data/plugins/provisioners/container/installer.rb +13 -0
  205. data/plugins/provisioners/container/plugin.rb +23 -0
  206. data/plugins/provisioners/container/provisioner.rb +28 -0
  207. data/plugins/provisioners/docker/cap/{redhat → centos}/docker_install.rb +10 -7
  208. data/plugins/provisioners/docker/cap/centos/docker_start_service.rb +24 -0
  209. data/plugins/provisioners/docker/client.rb +4 -175
  210. data/plugins/provisioners/docker/config.rb +2 -72
  211. data/plugins/provisioners/docker/installer.rb +3 -5
  212. data/plugins/provisioners/docker/plugin.rb +6 -6
  213. data/plugins/provisioners/docker/provisioner.rb +4 -10
  214. data/plugins/provisioners/podman/cap/centos/podman_install.rb +35 -0
  215. data/plugins/provisioners/podman/cap/linux/podman_installed.rb +13 -0
  216. data/plugins/provisioners/podman/cap/redhat/podman_install.rb +26 -0
  217. data/plugins/provisioners/podman/client.rb +12 -0
  218. data/plugins/provisioners/podman/config.rb +28 -0
  219. data/plugins/provisioners/podman/installer.rb +33 -0
  220. data/plugins/provisioners/podman/plugin.rb +38 -0
  221. data/plugins/provisioners/podman/provisioner.rb +52 -0
  222. data/plugins/provisioners/salt/provisioner.rb +4 -0
  223. data/plugins/provisioners/shell/config.rb +1 -6
  224. data/plugins/provisioners/shell/provisioner.rb +61 -26
  225. data/plugins/synced_folders/nfs/synced_folder.rb +3 -1
  226. data/plugins/synced_folders/smb/cap/default_fstab_modification.rb +11 -0
  227. data/plugins/synced_folders/smb/cap/mount_options.rb +36 -0
  228. data/plugins/synced_folders/smb/plugin.rb +10 -0
  229. data/plugins/synced_folders/smb/synced_folder.rb +2 -2
  230. data/plugins/synced_folders/unix_mount_helpers.rb +14 -0
  231. data/templates/commands/init/Vagrantfile.erb +1 -1
  232. data/templates/guests/arch/{network_dhcp.erb → default_network/network_dhcp.erb} +0 -0
  233. data/templates/guests/arch/{network_static.erb → default_network/network_static.erb} +0 -0
  234. data/templates/guests/arch/{network_static6.erb → default_network/network_static6.erb} +0 -0
  235. data/templates/guests/arch/systemd_networkd/network_dhcp.erb +6 -0
  236. data/templates/guests/arch/systemd_networkd/network_static.erb +9 -0
  237. data/templates/guests/arch/systemd_networkd/network_static6.erb +9 -0
  238. data/templates/guests/linux/etc_fstab.erb +6 -0
  239. data/templates/locales/en.yml +235 -6
  240. data/templates/locales/providers_docker.yml +6 -0
  241. data/templates/nfs/exports_darwin.erb +7 -0
  242. data/vagrant.gemspec +12 -12
  243. data/version.txt +1 -1
  244. metadata +3937 -3686
  245. data/lib/vagrant/action/builtin/after_trigger.rb +0 -31
  246. data/lib/vagrant/action/builtin/before_trigger.rb +0 -28
  247. data/plugins/provisioners/docker/cap/redhat/docker_start_service.rb +0 -16
@@ -30,7 +30,9 @@ module VagrantPlugins
30
30
  if !machine.config.nfs.functional
31
31
  return false
32
32
  end
33
- return true if machine.env.host.capability(:nfs_installed)
33
+ if machine.env.host.capability?(:nfs_installed)
34
+ return true if machine.env.host.capability(:nfs_installed)
35
+ end
34
36
  return false if !raise_error
35
37
  raise Vagrant::Errors::NFSNotSupported
36
38
  end
@@ -0,0 +1,11 @@
1
+ module VagrantPlugins
2
+ module SyncedFolderSMB
3
+ module Cap
4
+ module DefaultFstabModification
5
+ def self.default_fstab_modification(machine)
6
+ return false
7
+ end
8
+ end
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,36 @@
1
+ require_relative "../../unix_mount_helpers"
2
+
3
+ module VagrantPlugins
4
+ module SyncedFolderSMB
5
+ module Cap
6
+ module MountOptions
7
+ extend VagrantPlugins::SyncedFolder::UnixMountHelpers
8
+
9
+ def self.mount_options(machine, name, guest_path, options)
10
+ mount_options = options.fetch(:mount_options, [])
11
+ detected_ids = detect_owner_group_ids(machine, guest_path, mount_options, options)
12
+ mount_uid = detected_ids[:uid]
13
+ mount_gid = detected_ids[:gid]
14
+
15
+ mnt_opts = []
16
+ if machine.env.host.capability?(:smb_mount_options)
17
+ mnt_opts += machine.env.host.capability(:smb_mount_options)
18
+ else
19
+ mnt_opts << "sec=ntlmssp"
20
+ end
21
+
22
+ mnt_opts << "credentials=/etc/smb_creds_#{name}"
23
+ mnt_opts << "uid=#{mount_uid}"
24
+ mnt_opts << "gid=#{mount_gid}"
25
+ if !ENV['VAGRANT_DISABLE_SMBMFSYMLINKS']
26
+ mnt_opts << "mfsymlinks"
27
+ end
28
+ mnt_opts = merge_mount_options(mnt_opts, options[:mount_options] || [])
29
+
30
+ mount_options = mnt_opts.join(",")
31
+ return mount_options, mount_uid, mount_gid
32
+ end
33
+ end
34
+ end
35
+ end
36
+ end
@@ -23,6 +23,16 @@ module VagrantPlugins
23
23
  SyncedFolder
24
24
  end
25
25
 
26
+ synced_folder_capability("smb", "default_fstab_modification") do
27
+ require_relative "cap/default_fstab_modification"
28
+ Cap::DefaultFstabModification
29
+ end
30
+
31
+ synced_folder_capability("smb", "mount_options") do
32
+ require_relative "cap/mount_options"
33
+ Cap::MountOptions
34
+ end
35
+
26
36
  protected
27
37
 
28
38
  def self.init!
@@ -57,7 +57,7 @@ module VagrantPlugins
57
57
  smb_username = username if username != ""
58
58
  modify_username = true
59
59
  else
60
- smb_username = machine.ui.ask("Username: ")
60
+ smb_username = machine.ui.ask("Username (user[@domain]): ")
61
61
  end
62
62
 
63
63
  smb_password = machine.ui.ask("Password (will be hidden): ", echo: false)
@@ -66,7 +66,7 @@ module VagrantPlugins
66
66
  if machine.env.host.capability?(:smb_validate_password)
67
67
  Vagrant::Util::CredentialScrubber.sensitive(smb_password)
68
68
  auth_success = machine.env.host.capability(:smb_validate_password,
69
- smb_username, smb_password)
69
+ machine, smb_username, smb_password)
70
70
  end
71
71
 
72
72
  break if auth_success
@@ -100,6 +100,20 @@ module VagrantPlugins
100
100
  EOH
101
101
  end
102
102
 
103
+ def merge_mount_options(base, overrides)
104
+ base = base.join(",").split(",")
105
+ overrides = overrides.join(",").split(",")
106
+ b_kv = Hash[base.map{|item| item.split("=", 2) }]
107
+ o_kv = Hash[overrides.map{|item| item.split("=", 2) }]
108
+ merged = {}.tap do |opts|
109
+ (b_kv.keys + o_kv.keys).uniq.each do |key|
110
+ opts[key] = o_kv.fetch(key, b_kv[key])
111
+ end
112
+ end
113
+ merged.map do |key, value|
114
+ [key, value].compact.join("=")
115
+ end
116
+ end
103
117
  end
104
118
  end
105
119
  end
@@ -70,7 +70,7 @@ Vagrant.configure("2") do |config|
70
70
  # information on available options.
71
71
 
72
72
  # Enable provisioning with a shell script. Additional provisioners such as
73
- # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
73
+ # Ansible, Chef, Docker, Puppet and Salt are also available. Please see the
74
74
  # documentation for more information about their specific syntax and use.
75
75
  # config.vm.provision "shell", inline: <<-SHELL
76
76
  # apt-get update
@@ -0,0 +1,6 @@
1
+ [Match]
2
+ Name=<%= options[:device] %>
3
+
4
+ [Network]
5
+ Description=A basic DHCP ethernet connection
6
+ DHCP=ipv4
@@ -0,0 +1,9 @@
1
+ [Match]
2
+ Name=<%= options[:device] %>
3
+
4
+ [Network]
5
+ Description=A basic static ethernet connection
6
+ Address=<%= options[:ip]%>/<%= options[:netmask] %>
7
+ <% if options[:gateway] -%>
8
+ Gateway=<%= options[:gateway] %>
9
+ <% end -%>
@@ -0,0 +1,9 @@
1
+ [Match]
2
+ Name=<%= options[:device] %>
3
+
4
+ [Network]
5
+ Description=A basic static ethernet connection
6
+ Address=<%= options[:ip]%>/<%= options[:netmask] %>
7
+ <% if options[:gateway] -%>
8
+ Gateway=<%= options[:gateway] %>
9
+ <% end -%>
@@ -0,0 +1,6 @@
1
+ #VAGRANT-BEGIN
2
+ # The contents below are automatically generated by Vagrant. Do not modify.
3
+ <% folders.each do |opts| %>
4
+ <%= opts[:name] %> <%= opts[:mount_point] %> <%= opts[:mount_type] %> <%= opts[:mount_options] || 'default' %> <%= opts[:dump] || 0 %> <%= opts[:fsck] || 0 %>
5
+ <%end%>
6
+ #VAGRANT-END
@@ -127,6 +127,17 @@ en:
127
127
  Warning: Chef run list is empty. This may not be what you want.
128
128
  cli_interrupt: |-
129
129
  Exiting due to interrupt.
130
+ cloud_init_waiting: Waiting for cloud init to finish running
131
+ container_pulling_single: |-
132
+ -- Image: %{name}
133
+ container_building_single: |-
134
+ -- Path: %{path}
135
+ container_running: |-
136
+ -- Container: %{name}
137
+ container_restarting_container_args: |-
138
+ -- Detected changes to container '%{name}' args, restarting...
139
+ container_restarting_container_image: |-
140
+ -- Detected newer image for container '%{name}', restarting...
130
141
  docker_auto_start_not_available: |-
131
142
  Unable to configure automatic restart of Docker containers on
132
143
  the guest machine
@@ -154,6 +165,10 @@ en:
154
165
  -- Detected newer image for container '%{name}', restarting...
155
166
  docker_starting_containers: |-
156
167
  Starting Docker containers...
168
+ hyperv_enable_enhanced_session: |-
169
+ Setting VM Enhanced session transport type to HvSocket
170
+ hyperv_disable_enhanced_session: |-
171
+ Setting VM Enhanced session transport type to disabled/default (VMBus)
157
172
  inserted_key: |-
158
173
  Key inserted! Disconnecting and reconnecting using new SSH key...
159
174
  inserting_insecure_detected: |-
@@ -301,7 +316,7 @@ en:
301
316
  Vagrant has been configured to abort. Vagrant will terminate
302
317
  after remaining running actions have completed...
303
318
  start: |-
304
- Running %{type} triggers %{stage} %{action} ...
319
+ Running %{type} triggers %{stage} %{name} ...
305
320
  fire_with_name: |-
306
321
  Running trigger: %{name}...
307
322
  fire: |-
@@ -578,7 +593,7 @@ en:
578
593
  The specified checksum type is not supported by Vagrant: %{type}.
579
594
  Vagrant supports the following checksum types:
580
595
 
581
- md5, sha1, sha256
596
+ %{types}
582
597
  box_checksum_mismatch: |-
583
598
  The checksum of the downloaded box did not match the expected
584
599
  value. Please verify that you have the proper URL setup and that
@@ -711,6 +726,10 @@ en:
711
726
  or transient network issues. The reported error is:
712
727
 
713
728
  %{message}
729
+ source_spec_not_found: |-
730
+ Vagrant failed to properly initialize its internal library
731
+ dependencies. Please try running the command again. If this
732
+ error persists, please report a bug.
714
733
  cant_read_mac_addresses: |-
715
734
  The provider you are using ('%{provider}') doesn't support the
716
735
  "nic_mac_addresses" provider capability which is required
@@ -774,6 +793,11 @@ en:
774
793
  Additionally, the created environment must be started with a provider
775
794
  matching this provider. For example, if you're using VirtualBox,
776
795
  the clone environment must also be using VirtualBox.
796
+ cloud_init_not_found: |-
797
+ cloud-init is not found. Please ensure that cloud-init is installed and
798
+ available on path for guest '%{guest_name}'.
799
+ cloud_init_command_failed: |-
800
+ cloud init command '%{cmd}' failed on guest '%{guest_name}'.
777
801
  command_deprecated: |-
778
802
  The command 'vagrant %{name}' has been deprecated and is no longer functional
779
803
  within Vagrant.
@@ -818,6 +842,9 @@ en:
818
842
  they'll have to be destroyed manually.
819
843
 
820
844
  Path: %{path}
845
+ create_iso_host_cap_not_found: |-
846
+ Vagrant cannot create an iso due to the host capability for creating isos not existing.
847
+ Vagrant will now exit.
821
848
  destroy_requires_force: |-
822
849
  Destroy doesn't have a TTY to ask for confirmation. Please pass the
823
850
  `--force` flag to force a destroy, otherwise attach a TTY so that
@@ -925,6 +952,18 @@ en:
925
952
  ("%{value}") could not be found. Please verify that the plugin is
926
953
  installed which implements this host and that the value you used
927
954
  for `config.vagrant.host` is correct.
955
+ iso_build_failed: |-
956
+ Failed to build iso image. The following command returned an error:
957
+
958
+ %{cmd}
959
+
960
+ Stdout from the command:
961
+
962
+ %{stdout}
963
+
964
+ Stderr from the command:
965
+
966
+ %{stderr}
928
967
  hyperv_virtualbox_error: |-
929
968
  Hyper-V and VirtualBox cannot be used together and will result in a
930
969
  system crash. Vagrant will now exit. Please disable Hyper-V if you wish
@@ -964,6 +1003,15 @@ en:
964
1003
  If you believe this message is in error, please check the process
965
1004
  listing for any "ruby" or "vagrant" processes and kill them. Then
966
1005
  try again.
1006
+ machine_folder_not_accessible: |-
1007
+ Vagrant attempted to clean the machine folder for the machine '%{name}'
1008
+ but does not have permission to read the following path:
1009
+
1010
+ %{path}
1011
+
1012
+ Please ensure that Vagrant has the proper permissions to access the path
1013
+ above. You may need to grant this permission to the terminal emulator
1014
+ running Vagrant as well.
967
1015
  machine_guest_not_ready: |-
968
1016
  Guest-specific operations were attempted on a machine that is not
969
1017
  ready for guest communication. This should not happen and a bug
@@ -987,6 +1035,9 @@ en:
987
1035
  the proper location.
988
1036
  multi_vm_target_required: |-
989
1037
  This command requires a specific VM name to target in a multi-VM environment.
1038
+ netplan_no_available_renderers: |-
1039
+ No renderers compatible with netplan are available on guest. Please install
1040
+ a compatible renderer.
990
1041
  net_ssh_exception: |-
991
1042
  An error occurred in the underlying SSH library that Vagrant uses.
992
1043
  The error message is shown below. In many cases, errors from this
@@ -1104,6 +1155,10 @@ en:
1104
1155
  The license file to install could not be found. Please verify
1105
1156
  the path you gave is correct. The path to the license file given
1106
1157
  was: '%{path}'
1158
+ plugin_install_failed: |-
1159
+ Vagrant was unable to install the requested plugin: '%{name}'
1160
+ Please try to install this plugin again. If Vagrant is still unable
1161
+ to install the requested plugin, please report this error.
1107
1162
  plugin_install_space: |-
1108
1163
  The directory where plugins are installed (the Vagrant home directory)
1109
1164
  has a space in it. On Windows, there is a bug in Ruby when compiling
@@ -1405,6 +1460,11 @@ en:
1405
1460
  usually indicates that SSH within the guest machine was unable to
1406
1461
  properly start up. Please boot the VM in GUI mode to check whether
1407
1462
  it is booting properly.
1463
+ ssh_no_exit_status: |-
1464
+ The SSH command completed, but Vagrant did not receive an exit status.
1465
+ This indicates that the command was terminated unexpectedly. Please
1466
+ check that the VM has sufficient memory to run the command and that no
1467
+ processes were killed by the guest operating system.
1408
1468
  ssh_no_route: |-
1409
1469
  While attempting to connect with SSH, a "no route to host" (EHOSTUNREACH)
1410
1470
  error was received. Please verify your network settings are correct
@@ -1516,7 +1576,8 @@ en:
1516
1576
  triggers_no_stage_given: |-
1517
1577
  The incorrect stage was given to the trigger plugin:
1518
1578
  Guest: %{guest_name}
1519
- Action: %{action}
1579
+ Name: %{name}
1580
+ Type: %{type}
1520
1581
  Stage: %{stage}
1521
1582
 
1522
1583
  This is an internal error that should be reported as a bug.
@@ -1632,6 +1693,30 @@ en:
1632
1693
  4.2.14 contains a critical bug which prevents it from working with
1633
1694
  Vagrant. VirtualBox 4.2.16+ fixes this problem. Please upgrade
1634
1695
  VirtualBox.
1696
+ virtualbox_disks_controller_not_found: |-
1697
+ Vagrant expected to find a storage controller called '%{name}',
1698
+ but there is no controller with this name attached to the current VM.
1699
+ If you have changed or removed any storage controllers, please restore
1700
+ them to their previous configuration.
1701
+ virtualbox_disks_no_supported_controllers: |-
1702
+ Vagrant was unable to detect a disk controller with any of the
1703
+ following supported types:
1704
+
1705
+ %{supported_types}
1706
+
1707
+ Please add one of the supported controller types in order to use the
1708
+ disk configuration feature.
1709
+ virtualbox_disks_defined_exceed_limit: |-
1710
+ VirtualBox only allows up to %{limit} disks to be attached to the
1711
+ storage controller '%{name}'. Please remove some disks from your disk
1712
+ configuration, or attach a new storage controller.
1713
+ virtualbox_disks_primary_not_found: |-
1714
+ Vagrant was not able to detect a primary disk attached to the main
1715
+ controller. Vagrant Disks requires that the primary disk be attached
1716
+ to the first port of the main controller in order to manage it.
1717
+ virtualbox_disks_unsupported_controller: |-
1718
+ An disk operation was attempted on the controller '%{controller_name}',
1719
+ but Vagrant doesn't support this type of disk controller.
1635
1720
  virtualbox_guest_property_not_found: |-
1636
1721
  Could not find a required VirtualBox guest property:
1637
1722
  %{guest_property}
@@ -1792,6 +1877,26 @@ en:
1792
1877
  # Translations for config validation errors
1793
1878
  #-------------------------------------------------------------------------------
1794
1879
  config:
1880
+ disk:
1881
+ dvd_type_file_required:
1882
+ A 'file' option is required when defining a disk of type ':dvd' for guest '%{machine}'.
1883
+ dvd_type_primary: |-
1884
+ Disks of type ':dvd' cannot be defined as a primary disks. Please
1885
+ remove the 'primary' argument for disk '%{name}' on guest '%{machine}'.
1886
+ invalid_ext: |-
1887
+ Disk type '%{ext}' is not a valid disk extention for '%{name}'. Please pick one of the following supported disk types: %{exts}
1888
+ invalid_type: |-
1889
+ Disk type '%{type}' is not a valid type. Please pick one of the following supported disk types: %{types}
1890
+ invalid_size: |-
1891
+ Config option 'size' for disk '%{name}' on guest '%{machine}' is not an integer
1892
+ invalid_file_type: |-
1893
+ Disk config option 'file' for '%{machine}' is not a string.
1894
+ missing_file: |-
1895
+ Disk file '%{file_path}' for disk '%{name}' on machine '%{machine}' does not exist.
1896
+ missing_provider: |-
1897
+ Guest '%{machine}' using provider '%{provider_name}' has provider specific config options for a provider other than '%{provider_name}'. These provider config options will be ignored for this guest
1898
+ no_name_set: |-
1899
+ A 'name' option is required when defining a disk for guest '%{machine}'.
1795
1900
  common:
1796
1901
  bad_field: "The following settings shouldn't exist: %{fields}"
1797
1902
  chef:
@@ -1833,6 +1938,11 @@ en:
1833
1938
  The key `paranoid` is deprecated. Please use `verify_host_key`. Supported
1834
1939
  values are exactly the same, only the name of the option has changed.
1835
1940
  ssh_config_missing: "`config` file must exist: %{path}"
1941
+ connect_timeout_invalid_type: |-
1942
+ The `connect_timeout` key only accepts values of Integer type. Received
1943
+ `%{given}` type which cannot be converted to an Integer type.
1944
+ connect_timeout_invalid_value: |-
1945
+ The `connect_timeout` key only accepts values greater than 1 (received `%{given}`)
1836
1946
  triggers:
1837
1947
  bad_trigger_type: |-
1838
1948
  The type '%{type}' defined for trigger '%{trigger}' is not valid. Must be one of the following types: '%{types}'
@@ -1885,13 +1995,36 @@ en:
1885
1995
  Checksum type specified but "box_download_checksum" is blank
1886
1996
  box_download_checksum_notblank: |-
1887
1997
  Checksum specified but must also specify "box_download_checksum_type"
1998
+ box_empty: "Box value for guest '%{machine_name}' is an empty string."
1888
1999
  box_missing: "A box must be specified."
2000
+ box_download_options_type: |-
2001
+ Found "box_download_options" specified as type '%{type}', should be a Hash
2002
+ box_download_options_not_converted: |-
2003
+ Something went wrong converting VM config `box_download_options`. Value for provided key '%{missing_key}' is invalid type. Should be String or Bool
1889
2004
  clone_and_box: "Only one of clone or box can be specified."
2005
+ config_type: "Found '%{option}' specified as type '%{given}', should be '%{required}'"
1890
2006
  hostname_invalid_characters: |-
1891
- The hostname set for the VM should only contain letters, numbers,
2007
+ The hostname set for the VM '%{name}' should only contain letters, numbers,
1892
2008
  hyphens or dots. It cannot start with a hyphen or dot.
1893
2009
  ignore_provider_config: |-
1894
2010
  Ignoring provider config for validation...
2011
+ multiple_primary_disks_error: |-
2012
+ There are more than one primary disks defined for guest '%{name}'. Please ensure that only one disk has been defined as a primary disk.
2013
+ multiple_disk_files_error: |-
2014
+ The following disk files are used multiple times in the disk
2015
+ configuration for the VM '%{name}':
2016
+
2017
+ %{disk_files}
2018
+
2019
+ Each disk file may only be attached to a VM once.
2020
+ multiple_disk_names_error: |-
2021
+ The following disks names are defined multiple times in the disk
2022
+ configuration for the VM '%{name}':
2023
+
2024
+ %{disk_names}
2025
+
2026
+ Disk names must be unique.
2027
+ multiple_networks_set_hostname: "Multiple networks have set `:hostname`"
1895
2028
  name_invalid: |-
1896
2029
  The sub-VM name '%{name}' is invalid. Please don't use special characters.
1897
2030
  network_ip_ends_in_one: |-
@@ -1910,6 +2043,7 @@ en:
1910
2043
  Forwarded port definitions require a "host" and "guest" value
1911
2044
  network_type_invalid: |-
1912
2045
  Network type '%{type}' is invalid. Please use a valid network type.
2046
+ network_with_hostname_must_set_ip: "Network specified with `:hostname` must provide a static ip"
1913
2047
  provisioner_not_found: |-
1914
2048
  The '%{name}' provisioner could not be found.
1915
2049
  shared_folder_guestpath_duplicate: |-
@@ -1919,6 +2053,12 @@ en:
1919
2053
  The shared folder guest path must be absolute: %{path}
1920
2054
  shared_folder_hostpath_missing: |-
1921
2055
  The host path of the shared folder is missing: %{path}
2056
+ shared_folder_invalid_option_type: |-
2057
+ The type '%{type}' is not a valid synced folder type. If 'type' is not
2058
+ specified, Vagrant will automatically choose the best synced folder
2059
+ option for your guest. Otherwise, please pick from the following available options:
2060
+
2061
+ %{options}
1922
2062
  shared_folder_nfs_owner_group: |-
1923
2063
  Shared folders that have NFS enabled do not support owner/group
1924
2064
  attributes. Host path: %{path}
@@ -2053,6 +2193,9 @@ en:
2053
2193
  No pushed snapshot found!
2054
2194
 
2055
2195
  Use `vagrant snapshot push` to push a snapshot to restore to.
2196
+ save:
2197
+ vm_not_created: |-
2198
+ Machine '%{name}' has not been created yet, and therefore cannot save snapshots. Skipping...
2056
2199
  status:
2057
2200
  aborted: |-
2058
2201
  The VM is in an aborted state. This means that it was abruptly
@@ -2131,10 +2274,64 @@ en:
2131
2274
  #-------------------------------------------------------------------------------
2132
2275
  # Translations for Vagrant middleware actions
2133
2276
  #-------------------------------------------------------------------------------
2277
+ cap:
2278
+ cleanup_disks:
2279
+ disk_cleanup: |-
2280
+ Disk '%{name}' no longer exists in Vagrant config. Removing and closing medium from guest...
2281
+ disk_not_found: |-
2282
+ Disk '%{name}' could not be found, and could not be properly removed. Please remove this disk manually if it still exists
2283
+ configure_disks:
2284
+ create_disk: |-
2285
+ Disk '%{name}' not found in guest. Creating and attaching disk to guest...
2286
+ floppy_not_supported: "Floppy disk configuration not yet supported. Skipping disk '%{name}'..."
2287
+ shrink_size_not_supported: |-
2288
+ VirtualBox does not support shrinking disk sizes. Cannot shrink '%{name}' disks size.
2289
+ resize_disk: |-
2290
+ Disk '%{name}' needs to be resized. Resizing disk...
2291
+ recovery_from_resize: |-
2292
+ Vagrant has encountered an exception while trying to resize a disk. It will now attempt to reattach the original disk, as to prevent any data loss.
2293
+ The original disk is located at %{location}
2294
+ If Vagrant fails to reattach the original disk, it is recommended that you open the VirtualBox GUI and navigate to the current guests settings for '%{name}' and look at the 'storage' section. Here is where you can reattach a missing disk if Vagrant fails to do so...
2295
+ recovery_attached_disks: |-
2296
+ Disk has been reattached. Vagrant will now continue on an raise the exception receieved
2297
+ start: "Configuring storage mediums..."
2298
+ cloud_init:
2299
+ content_type_not_set: |-
2300
+ 'content_type' must be defined for a cloud_init config. Guest '%{machine}'
2301
+ has not defined a 'content_type' for its cloud_init config. Valid options
2302
+ supported by Vagrant are listed below:
2303
+
2304
+ %{accepted_types}
2305
+ incorrect_content_type: |-
2306
+ Content-type "%{content_type}" is not supported by Vagrant and
2307
+ cloud-init on machine '%{machine}'. Valid options supported by Vagrant are
2308
+ listed below:
2309
+
2310
+ %{accepted_types}
2311
+ incorrect_inline_type: |-
2312
+ The inline config cloud_init option for guest '%{machine}' is of type '%{type}', but
2313
+ should be a String.
2314
+ incorrect_path_type: |-
2315
+ The path '%{path}' given for guest '%{machine}' is of type '%{type}'.
2316
+ Config option 'path' must be a String.
2317
+ incorrect_type_set: |-
2318
+ The type '%{type}' defined for a cloud_init config with guest '%{machine}'
2319
+ is not a valid type. Currently, Vagrant only supports type: '%{default_type}'.
2320
+ path_and_inline_set: |-
2321
+ Guest '%{machine}' defines both a 'path' and 'inline' for its cloud_init config,
2322
+ however only one config option should be defined for cloud_init.
2323
+ path_invalid: |-
2324
+ The path '%{path}' defined for guest '%{machine}' cloud_init config was
2325
+ not found on the system.
2134
2326
  actions:
2135
2327
  runner:
2136
2328
  waiting_cleanup: "Waiting for cleanup before exiting..."
2137
2329
  exit_immediately: "Exiting immediately, without cleanup!"
2330
+ disk:
2331
+ cleanup_provider_unsupported: |-
2332
+ Guest provider '%{provider}' does not support the cleaning up disks, and will not attempt to clean up attached disks on the guest..
2333
+ provider_unsupported: |-
2334
+ Guest provider '%{provider}' does not support the disk feature, and will not use the disk configuration defined.
2138
2335
  vm:
2139
2336
  boot:
2140
2337
  booting: Booting VM...
@@ -2198,6 +2395,8 @@ en:
2198
2395
  create_master:
2199
2396
  failure: |-
2200
2397
  Failed to create lock-file for master VM creation for box %{box}.
2398
+ cloud_init_user_data_setup: |-
2399
+ Preparing user data for cloud-init...
2201
2400
  customize:
2202
2401
  failure: |-
2203
2402
  A customization command failed:
@@ -2253,6 +2452,13 @@ en:
2253
2452
  forwarding: Forwarding ports...
2254
2453
  forwarding_entry: |-
2255
2454
  %{guest_port} (guest) => %{host_port} (host) (adapter %{adapter})
2455
+ host_ip_not_found: |-
2456
+ You are trying to forward a host IP that does not exist. Please set `host_ip`
2457
+ to the address of an existing IPv4 network interface, or remove the option
2458
+ from your port forward configuration.
2459
+
2460
+ VM: %{name}
2461
+ Host IP: %{host_ip}
2256
2462
  non_nat: |-
2257
2463
  VirtualBox adapter #%{adapter} not configured as "NAT". Skipping port
2258
2464
  forwards on this adapter.
@@ -2335,6 +2541,17 @@ en:
2335
2541
  For more information see:
2336
2542
  RFC5661: https://tools.ietf.org/html/rfc5661#section-2.9.1
2337
2543
  RFC7530: https://tools.ietf.org/html/rfc7530#section-3.1
2544
+ smb:
2545
+ mfsymlink_warning: |-
2546
+ Vagrant is currently configured to mount SMB folders with the
2547
+ `mfsymlink` option enabled. This is equivalent to adding the
2548
+ following to your Vagrantfile:
2549
+
2550
+ config.vm.synced_folder '/host/path', '/guest/path', type: "smb", mount_options: ['mfsymlink']
2551
+
2552
+ This option may be globally disabled with an environment variable:
2553
+
2554
+ VAGRANT_DISABLE_SMBMFSYMLINKS=1
2338
2555
 
2339
2556
  provision:
2340
2557
  beginning: "Running provisioner: %{provisioner}..."
@@ -2496,7 +2713,7 @@ en:
2496
2713
  missing_provisioner_name: |-
2497
2714
  Could not find provisioner name `%{name}` defined for machine `%{machine_name}` to run provisioner "%{provisioner_name}" `%{action}`.
2498
2715
  wrong_type: |-
2499
- Provisioner option `%{opt}` is not set as a valid type. Must be a string.
2716
+ Provisioner option `%{opt}` is not set as a valid type. Must be a %{type}.
2500
2717
  chef:
2501
2718
  chef_not_detected: |-
2502
2719
  The chef binary (either `chef-solo` or `chef-client`) was not found on
@@ -2560,7 +2777,7 @@ en:
2560
2777
  server_url_required: |-
2561
2778
  Chef server provisioning requires that the `config.chef.chef_server_url` be set to the
2562
2779
  URL of your chef server. Examples include "http://12.12.12.12:4000" and
2563
- "http://myserver.com:4000" (the port of course can be different, but 4000 is the default)
2780
+ "http://example.com:4000" (the port of course can be different, but 4000 is the default)
2564
2781
  server_validation_key_required: |-
2565
2782
  Chef server provisioning requires that the `config.chef.validation_key_path` configuration
2566
2783
  be set to a path on your local machine of the validation key used to register the
@@ -2754,6 +2971,12 @@ en:
2754
2971
  not_running: "Docker is not running on the guest VM."
2755
2972
  install_failed: "Docker installation failed."
2756
2973
 
2974
+ podman:
2975
+ wrong_provisioner: |-
2976
+ The Podman post-install provisioner cannot also take a Podman post-install
2977
+ provisioner
2978
+ install_failed: "Podman installation failed."
2979
+
2757
2980
  salt:
2758
2981
  minion_config_nonexist: |-
2759
2982
  The specified minion_config '%{missing_config_file}' file could not be found.
@@ -2775,3 +2998,9 @@ en:
2775
2998
  pushes:
2776
2999
  file:
2777
3000
  no_destination: "File destination must be specified."
3001
+
3002
+ autocomplete:
3003
+ installed: |-
3004
+ Autocomplete installed at paths:
3005
+ - %{paths}
3006
+ not_installed: "Autocomplete not installed"