sophia
e4367d1539
Refactor linux change host cap
2020-08-05 15:12:45 -05:00
sophia
9eb431b1bf
Clean up tests
2020-07-20 15:46:15 -05:00
sophia
cf130d07a2
Update omnios cap for setting hostname
2020-07-20 15:19:50 -05:00
sophia
169d7b4011
Update photon cap for setting hostname
...
sqash
2020-07-20 15:19:50 -05:00
sophia
5afd7fdd73
Extract change hostnamet base class
2020-07-20 15:19:50 -05:00
sophia
91ac0681cf
Update RHEL cap for setting hostname
2020-07-20 15:19:50 -05:00
sophia
c2b9497923
Update Gentoo cap for setting hostname
2020-07-20 15:19:50 -05:00
sophia
c844f7689d
Make pld guest respect 'hostname' network config option
2020-07-20 15:19:50 -05:00
sophia
e4e72522b2
Make slackware guest respect 'hostname' network config option
2020-07-20 15:19:50 -05:00
sophia
326f0a4858
Make atomic-host guest respect 'hostname' network config option
2020-07-20 15:19:50 -05:00
sophia
71ea0e6f2a
Make arch guest respect 'hostname' network config option
2020-07-20 15:19:50 -05:00
sophia
18737f29fd
Update change host name cap for debian
2020-07-20 15:19:50 -05:00
sophia
d90ae50b60
Update change host name cap for ALT os
2020-07-20 15:19:50 -05:00
Brian Cain
0198c17c56
Merge pull request #11400 from rmunn/feature/arch-network-with-systemd-networkd
...
Use systemd-networkd on Archlinux guests
2020-07-16 14:34:54 -07:00
Brian Cain
8cec544fcc
Merge pull request #11759 from danowar2k/#11758-solaris11-shell-expand-guest-path-capability
...
Closes #11758
2020-07-16 09:40:22 -07:00
Daniel Poggenpohl
3ed2489c4a
#11758
...
- removed superfluous cap/shell_expand_guest_path
- solaris11 guest_capability for shell_expand_guest_path now directly returns the linux capability class
2020-07-11 00:29:44 +02:00
Daniel Poggenpohl
c4b16b509a
#11758
...
- added shell_expand_guest_path capability for solaris11
- added tests for solaris11 shell_expand_guest_path capability
2020-07-10 23:19:34 +02:00
Mingxiang Xue
035ae6d460
Fix sometimes-failed test cases that may depend on running order
...
Signed-off-by: Mingxiang Xue <mingxiangxue@gmail.com>
2020-07-03 20:40:02 +08: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
fe7968315b
Add option to allow/disable fstab modification
...
Defaults to allow modification of fstab
2020-05-29 15:29:21 -04:00
sophia
1dc761a6c4
Refactor out persisting a mount to it's own guest cap
2020-05-29 15:26:48 -04:00
sophia
d7bd29384e
Remove fstab if it is unable to successfully mount
2020-05-29 15:26:48 -04:00
sophia
b511d23ae1
Refresh fstab when folders synced
2020-05-29 15:26:48 -04:00
sophia
298027b70e
Automatically mount virtual box shared folder when machine reboots
...
This is done by adding the mount to fstab
ref: https://askubuntu.com/questions/252853/how-to-mount-a-virtualbox-shared-folder-at-startup
Note, add `nofail` to mount options so as to not stop machine from booting if device disappears
2020-05-29 15:26:48 -04:00
sophia
85fd3b79fe
Refactor editin guest /etc/hosts into a util
2020-05-29 15:08:39 -04:00
sophia
a8c9d6c3d3
Fix tests
2020-05-29 10:27:42 -04:00
Robin Munn
a86482b017
Only use systemd_networkd if remote system has it
2020-05-29 07:58:13 +07:00
sophia
fc79aa96dd
Search for first free loopback address to insert hostname
2020-05-15 14:24:04 -04:00
sophia
f5d5baec40
Set hostname according to hostname flag and ip for suse
2020-05-15 13:30:23 -04:00
Rui Lopes
6719cab41a
esxi guest: do not fail when we cannot set the ssh directory permissions in esxi 7.0
2020-05-08 20:20:03 +01:00
Chris Roberts
720c3012ce
Use #systemd_networkd? guest check for renderer
2020-04-22 15:07:14 -07:00
Sophia Castellarin
bc4368f739
Merge pull request #11503 from soapy1/smb-symlinks
...
Smb symlinks
2020-04-20 12:35:38 -04:00
sophia
30ade2991b
Emit warning message if using mfsymlink
2020-04-17 09:56:52 -04:00
Sophia Castellarin
5dc96f0886
Merge pull request #11498 from soapy1/ubuntu-w-networkmanager
...
Choose netplan renderer based on network config and available tools
2020-04-17 09:50:31 -04:00
Chris Roberts
40243a8f2f
Adjust when the hook action is performed
...
With the adjustments provided in #11455 the location of injecting
within the call stack has been changed slightly. With the entire
stack now being generated before execution instead of dynamic
hooks being wrapped around actions at run time, this update
ensures that the method is called correctly after the entirety of
the synced folders action has completed.
2020-04-15 13:46:10 -07:00
Sophia Castellarin
ee87596a77
Merge pull request #11462 from soapy1/docker-provision-centos8
...
Docker provision centos8
2020-04-13 09:42:37 -04:00
sophia
538ee948ee
Choose netplan renderer based on network config and available tools
2020-04-10 17:17:04 -04:00
sophia
307291b7f8
Add mfsymlinks as a default option for mounting smb folders
2020-04-08 14:52:37 -04:00
sophia
5104d075bd
Add CentOS guest plugin
2020-04-06 13:48:39 -04:00
Sophia Castellarin
cf9a690bc9
Merge pull request #11482 from soapy1/systemd-cap-halt
...
Use systemd to halt system if available
2020-04-06 10:18:53 -04:00
sophia
d500daea03
Support centos flavors of redhat
2020-04-03 14:27:44 -04:00
sophia
338f13a2ae
Use systemd to halt system if available
2020-04-01 15:43:10 -04:00
sophia
777f680837
Use systemd to rebot system if available
2020-04-01 13:57:07 -04:00
sophia
987ab17f4d
Add suport for SMB on redhat
2020-03-25 12:27:04 -04:00
sophia
9d53e8ccab
Recognize rhel8 flavor
2020-03-25 10:36:02 -04:00
Jeff Bonhag
6efdcd2068
Merge pull request #11430 from chrisroberts/winssh-hacks
...
Fix issues with Windows SSH provisioner (continued...)
2020-03-11 10:39:44 -04:00
Chris Roberts
7d44fef00e
Merge pull request #11428 from chrisroberts/fix/windows-reboot
...
Catch any StandardError exception while waiting for Windows reboot
2020-03-09 16:48:27 -07:00
Chris Roberts
7c2083d5da
Update how delayed actions are stored to avoid accessing uninitialized value
2020-03-05 13:25:57 -08:00
Chris Roberts
ec9d23a531
Update public key cap to use powershell
2020-03-04 15:08:03 -08:00
Jeff Bonhag
df7c11a3a7
Fix issues with Windows SSH provisioner
...
Windows commands that run over SSH are wrapped in a script that writes a
special marker to the two output streams (stdout and stderr). This
allows Vagrant to consume the output streams.
Unfortunately, this leads to a sort of chicken-and-egg problem where no
commands can be run before a wrapper script exists. For example, you
can't make a destination directory to upload the wrapper script without
first creating a wrapper script to make the directory. :)
This commit changes the behavior of the WinSSH communicator to assume
that the destination directory already exists for provisioning scripts.
It also moves the default `upload_path` from the shell provisioner
config so we can have OS-specific defaults.
Finally, it introduces a Windows-specific #upload method which will
properly use a Windows path separator on a non-Windows host.
2020-03-04 15:08:03 -08:00