Jeff Bonhag
3a515cc7d6
Error if the required storage controller not found
...
This commit adds a new error type that can be raised whenever a storage
controller of the required type is not found. This indicates that a user
needs to either add the storage controller manually or change their disk
configuration.
It also removes the last hardcoded instance of "SATA Controller" as a
default argument.
2020-07-09 15:07:48 -04:00
sophia
b1d1c20ff7
Refactor building iso
2020-07-08 11:40:00 -05:00
sophia
4a77060805
Add linux cap
2020-07-08 11:15:26 -05:00
sophia
33d7c94320
Refactor iso building into a util
2020-07-08 10:24:21 -05:00
Sophia Castellarin
02ef62dcff
Merge pull request #11694 from soapy1/host-cap-build-iso
...
Build iso for Darwin host
2020-07-07 10:29:52 -05:00
sophia
1661d1f1cf
Print help message if user provides and ambiguous option
2020-07-06 10:52:05 -05:00
sophia
ee90e11832
Test detach option
2020-06-30 17:24:25 -05:00
sophia
384e327b9e
Add detach option to Util::Subprocess
2020-06-30 15:59:39 -05:00
sophia
8bad23d176
Update OpenBSD guest change hostname cap
2020-06-29 17:02:43 -05:00
Brian Cain
39c3ee7230
Update code style for map/each methods
2020-06-29 11:16:55 -07:00
Brian Cain
4b15435262
Fix method docs
2020-06-29 11:00:16 -07:00
Brian Cain
3caca048c8
Update setup to decouple disk attachment from user_data setup
2020-06-29 11:00:16 -07:00
Brian Cain
d6fc70dd68
Include volume_id in iso host cap params
2020-06-29 11:00:16 -07:00
Brian Cain
39a12de38f
Ensure meta-data is also included in cloud-init iso
2020-06-29 11:00:16 -07:00
Brian Cain
6797b96cae
Save file as user-data
2020-06-29 11:00:16 -07:00
Brian Cain
42718437ab
Initial commit of cloud_init setup action
...
This commit introduces a new builtin action for preparing and
configuring guests cloud_init configs as an iso to be attached later by
the disk actions
2020-06-29 11:00:16 -07:00
sophia
db6d1b4aa6
Make darwin guest respect 'hostname' network config option
2020-06-29 12:03:12 -05:00
Jeff Bonhag
9af48e5764
Raise an error on nil exit status
...
This commit changes the SSH communicator to raise an error if Vagrant
doesn't receive an exit status from an SSH command, for example if the
command is terminated by the OOM-killer.
2020-06-26 13:25:59 -04:00
Sophia Castellarin
955f1f1b25
Merge pull request #11656 from soapy1/recover-from-missing-global-data
...
Add local machine to global index of machines if it does not exist
2020-06-17 15:18:48 -05:00
Jeff Bonhag
f9f2fc0dd5
Merge pull request #11654 from jbonhag/fix/loopback-forward
...
Fix #11640 : Check port of loopback address
2020-06-16 14:54:16 -04:00
Sophia Castellarin
71185e3756
Merge pull request #11679 from soapy1/invalid-mask
...
Validate netmask value from VirtualBox
2020-06-16 09:36:19 -05:00
sophia
1ff6582fff
Refactor out shared utility
2020-06-16 09:32:37 -05:00
sophia
e3e573c133
Rescue if an invalid netmask is provided
2020-06-15 17:06:07 -05:00
Chris Roberts
c9a65ac75b
Merge pull request #11688 from chrisroberts/f-trigger-all
...
Fix trigger matching on `:all` special value
2020-06-15 14:15:26 -07:00
Sophia Castellarin
d9bbdab428
Merge pull request #11567 from soapy1/suse-hosts-mod
...
Set hostname according to hostname flag and ip for suse
2020-06-15 14:29:43 -05:00
sophia
e1d104a8e3
Build iso for Darwin host
2020-06-15 09:55:15 -05:00
Chris Roberts
f26440ee38
Only allow the all special value to be matched when requested
...
This prevents the all special value from being matched on the
non-defined raw action names when the typed triggers support
is enabled.
2020-06-12 17:09:31 -07:00
sophia
b02a78c661
Change config option to allow_hosts_modification
2020-06-12 14:50:07 -05:00
sophia
ff0aea4493
Add option to disable modification of /etc/hosts on guest
2020-06-12 14:25:19 -05:00
Chris Roberts
916655dbd3
Fix trigger matching on :all special value
...
Updates the type to do a proper comparison when checking for
the `:all` special value as well as applied ignores.
Fixes #11599
2020-06-09 16:12:48 -07:00
sophia
132720e3b4
Add local machine to global index of machines if it does not exist
2020-06-09 17:22:55 -05:00
sophia
66a3b58c08
Add provider capaiblity :has_communicator
2020-06-09 09:33:11 -05:00
sophia
36a086a4d1
Validate netmask value from VirtualBox
2020-06-08 12:21:29 -05:00
Jeff Bonhag
73130e3ff6
Switch to Vagrant::Util methods
2020-05-29 15:51:24 -04:00
sophia
9b6c562016
Set run config for provisioner
2020-05-29 15:33:43 -04:00
sophia
1a3e6c8ed5
Allow provisioner to take list of provisioners to run
2020-05-29 15:33:42 -04:00
Jeff Bonhag
270462fc89
Fix #11640 : Check port of loopback address
...
If the given host_ip is a loopback address, proceed with the regular
port check.
2020-05-29 15:30:21 -04:00
sophia
043008a3c4
Raise error if trying to install unsupported shell
2020-05-29 15:10:13 -04:00
sophia
75de83db9e
Simplify some install operations
2020-05-29 15:10:13 -04:00
sophia
4169ea6e57
Allow users to choose which shells to install
2020-05-29 15:10:13 -04:00
sophia
9e2b7fb690
Autocomplete command
2020-05-29 15:10:13 -04:00
sophia
1058a38f46
Clean up output to user
2020-05-29 15:10:13 -04:00
sophia
a59eedb748
Rework install shell config classes
2020-05-29 15:10:13 -04:00
sophia
d6175e0c66
Give feedback to user about which files have been modified for autocopmletion to be enabled
2020-05-29 15:10:13 -04:00
sophia
f25c3ef9fa
Install autocomplete for bash
2020-05-29 15:10:13 -04:00
sophia
6430640d28
Extract more generic shell class
2020-05-29 15:10:13 -04:00
sophia
89503d9a66
Install zsh autocomplete
2020-05-29 15:10:13 -04:00
sophia
85fd3b79fe
Refactor editin guest /etc/hosts into a util
2020-05-29 15:08:39 -04:00
Brian Cain
fab786cc28
Merge pull request #11602 from briancain/feature/docker-port-collision-fix
...
Fixes #9067 : Ensure new containers don't grab existing bound ports
2020-05-29 08:37:23 -07:00
Brian Cain
19d724dcd4
Remove unused require for MapCommandOptions class
2020-05-20 10:46:09 -07:00