884 Commits

Author SHA1 Message Date
sophia
56fa014af8 Don't persist shared folders if mount options capability not provided 2020-08-19 15:47:21 -05:00
Chris Roberts
cd2d84fda7 Adjust synced folder collection class 2020-08-19 15:00:40 -05:00
sophia
2a8372a272 Add mount type cap 2020-08-19 15:00:40 -05:00
sophia
7577c11eb6 Persist synced folders in action 2020-08-19 15:00:40 -05:00
sophia
2239ee8582 Create Hash with type attribute 2020-08-19 15:00:40 -05:00
sophia
cde39e26ba Make mount options a synced_folder capability 2020-08-19 15:00:40 -05:00
Sophia Castellarin
e3b0784272
Merge pull request #11704 from soapy1/change-host-name-cap-arch
Make alt + arch + atomic-host +debian + gentoo + slackware + pld + photon + rhel +suse guests respect hostname network config option
2020-08-07 10:58:05 -05:00
sophia
e4367d1539 Refactor linux change host cap 2020-08-05 15:12:45 -05:00
Sophia Castellarin
f49e9f9700
Merge pull request #11719 from soapy1/change-host-name-cap-darwin
Make darwin + openbsd +freebsd guest respect 'hostname' network config option
2020-07-30 12:27:38 -05:00
Sophia Castellarin
09f2c2716f
Merge pull request #11718 from soapy1/change-host-name-cap-alpine
Make alpine guest respect 'hostname' network config option
2020-07-30 11:29:34 -05:00
Jeff Bonhag
a82a785651
Merge pull request #11614 from jbonhag/fixup/haiku-rsync-install
Fix #9552: Install rsync on Haiku guests
2020-07-23 16:53:06 -04: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
sophia
cbb66ed67f Update FreeBSD guest change hostname cap 2020-07-06 14:27:57 -05:00
Jeff Bonhag
2d4ecfbd23
Set rsync_command for Haiku guests
At the time of writing, the Haiku rsync lacks old-style --compress due
to its external zlib. Pass `-zz` to the guest rsync.

This works with or without the `--compress` flag in the host's
`rsync__args`.
2020-07-06 14:26:18 -04:00
Jeff Bonhag
a50432cf16
Install rsync on Haiku 2020-07-06 14:26:08 -04: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
6bdec0fd82 Make alpine guest respect 'hostname' network config option 2020-06-30 16:44:23 -05:00
sophia
8bad23d176 Update OpenBSD guest change hostname cap 2020-06-29 17:02:43 -05:00
sophia
db6d1b4aa6 Make darwin guest respect 'hostname' network config option 2020-06-29 12:03:12 -05: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