Masahiro Ono
55a90445cd
Fix new-style Network Device Naming on CentOS7+VMwarefusion
2014-12-21 16:25:11 +09:00
Seth Vargo
5efb30653e
Merge pull request #4898 from athak/patch-solaris-rsync
...
rsynced folders don't work with Solaris based OS
2014-12-18 10:30:13 -05:00
Barry Kelly
185740163c
Don't reorder config in /etc/network/interfaces
2014-12-15 19:21:22 +00:00
Douézan-Grard Guillaume
9d1834a3c9
Fix line breaks
2014-12-13 21:08:31 +01:00
Michael Dwyer
e65ae7b543
Add back creation of mount point
...
Accidentally removed in ad4b30dd
2014-12-10 10:56:30 -06:00
Atha Kouroussis
9e9362d976
Fix broken rsync cap for Solaris guests
2014-12-08 09:42:13 -05:00
Daniel Klockenkämper
8066c38881
Update configure_networks.rb for funtoo
...
fixed name of temporary network configuration file to work with the further process of copying file to configuration directory
2014-11-11 15:12:48 +01:00
Tarrant
70fece7a99
Add support for DHCP on tinycore
2014-10-24 13:52:35 -07:00
Tarrant
ba994baa65
Revert "guests/tinycore: error if DHCP [GH-4699]"
...
This reverts commit 64139f2158
.
2014-10-24 13:52:06 -07:00
Mitchell Hashimoto
64139f2158
guests/tinycore: error if DHCP [GH-4699]
2014-10-24 11:24:16 -07:00
Mitchell Hashimoto
5418e6b85e
guests: add remove_public_key to most guests
2014-10-24 10:05:01 -07:00
Mitchell Hashimoto
94b2a8a56b
communicators/ssh: insert random key, remove insecure key
2014-10-24 09:58:18 -07:00
Mitchell Hashimoto
9b9c24cb59
Merge pull request #4468 from SilverWyrda/arch-predictable-network-interface-names
...
guests/arch: Add support for predictable network interfaces names
2014-10-23 10:20:01 -07:00
Mitchell Hashimoto
26c468b5f9
Merge pull request #4469 from Gurpartap/tinycore-change_host_name-pr
...
change_host_name.rb for TinyCore Linux
2014-10-23 10:18:56 -07:00
Mitchell Hashimoto
d04ec704c1
update CHANGELOG
2014-10-23 10:12:27 -07:00
Mitchell Hashimoto
4b4255c6d1
Merge pull request #4492 from tboerger/feature/suse-fixes
...
SUSE naming and capability fixes
2014-10-23 10:11:28 -07:00
Mitchell Hashimoto
e30ba41104
Merge pull request #4499 from sprin/centos_7_nfs_client
...
Fix NFSClient plugin for Redhat / Centos 7 guests
2014-10-23 10:09:11 -07:00
Mitchell Hashimoto
4c0aa0d9cb
update CHANGELOG
2014-10-23 10:04:58 -07:00
Mitchell Hashimoto
fca6428ecd
Merge pull request #4518 from lunetics/master
...
guests/freebsd: allow NFS version param
2014-10-23 10:03:41 -07:00
Mitchell Hashimoto
f24af5dda4
Merge pull request #4527 from Asquera/bugfix/4465-host-not-added-to-etc-hosts
...
Fix #4465 update /etc/hosts on rhel 7 and derivatives (CentOS)
2014-10-23 09:57:12 -07:00
Mitchell Hashimoto
50b0ea8173
Merge pull request #4535 from plu/master
...
guests/darwin: Set ComputerName and LocalHostName on darwin guests
2014-10-23 09:55:13 -07:00
Mitchell Hashimoto
35c9b59968
Merge pull request #4565 from dup2/patch-1
...
guests/ubuntu: A more reliable way to detect Ubuntu via lsb_release
2014-10-23 09:46:54 -07:00
Mitchell Hashimoto
bab9e979b7
Merge pull request #4621 from awusizok/fix/master/2905-static-solaris11-addresses
...
guests/solaris: Solving #2905 - Restarting Solaris 11 boxes with static ip addresses
2014-10-23 09:20:10 -07:00
Mitchell Hashimoto
4a9d99ef71
Merge pull request #4641 from dimbleby/smb_share_error
...
Provide output on raising LinuxMountFailed
2014-10-23 09:18:20 -07:00
uchagani
2d465ea923
Fixed escape character problem in registry path
2014-10-23 11:27:14 -04:00
uchagani
90cbdd85e1
Rename Windows guest without reboot
2014-10-23 02:27:05 -04:00
dch
97589636b1
Provide output on raising LinuxMountFailed
2014-10-14 18:25:13 +01:00
Jörn Schwarze
b2a37dae99
...missed to replace the device variable :-)
2014-10-10 22:49:45 +02:00
Jörn Schwarze
fe3a380823
First fix didn't work correctly.
...
Now, the ip address will be removed, if there (from dhcp) and re-configured with the given value.
2014-10-10 22:42:13 +02:00
Jörn Schwarze
5036326319
Adding condition for the ipadm command on static ip addresses.
...
This will enable restarting solaris 11 vagrant boxes with static ip addresses.
2014-10-10 20:09:42 +02:00
Shawn Neal
220e4f23b2
Merge pull request #4209 from mwrock/smb_sync
...
adding smb sync folder implementation for windows guests addressing #3699
2014-10-07 08:19:26 -07:00
Dr. Zarkov
779e54eef5
A more reliable way to detect Ubuntu
...
The default /etc/issue might have been changed by the administrator and not contain the string 'Ubuntu' anymore.
2014-09-26 14:05:54 +02:00
Johannes Plunien
286e9cd01e
Set ComputerName and LocalHostName on darwin guests
...
This sets the bonjour host name for darwin guests to the same value
as config.vm.hostname. It also sets the user-friendly name for the
system.
2014-09-21 19:14:59 +02:00
Felix Gilcher
96b011b39e
update /etc/hosts on rhel 7
...
the previous fix for #4465 assumed that the NetworkManager takes care of updating /etc/hosts with
the new hostname, but testing shows it doesn't. This change ensures that the change is always added
to /etc/hosts when the name changes.
2014-09-20 17:34:01 +02:00
Matthias Breddin
d4b30dd12a
Allow nfs
2014-09-18 17:14:13 +02:00
sprin
a712f70634
Fix NFSClient plugin for Redhat / Centos 7 guests
...
Fixes #4476 .
2014-09-12 15:35:10 -07:00
Thomas Boerger
063a903bdb
Fixed and extended suse guest capabilities
...
In order to get a SUSE guest running and installing fine i have added a
correct capability for installing rsync and nfs-client.
I have included SUSE naming fixes as well because SUSe doesnt get
spelled SuSE anymore :).
2014-09-11 17:07:49 +02:00
Thomas Boerger
6c20b6cd34
Fixed suse spelling in fedora capability
2014-09-11 10:52:15 +02:00
Gurpartap Singh
fd25cbefe1
change_host_name cap for TinyCore Linux
2014-09-07 02:05:41 +05:30
SilverWyrda
384fd3ba98
Delegate cleaning to arch box packagers
2014-09-06 06:44:24 +02:00
SilverWyrda
10090bf4dc
Add support for predictable network interfaces names
2014-09-06 04:56:01 +02:00
Andy Thompson
e667bcb675
Fix failure to detect RHEL 7 flavours
2014-09-04 22:03:07 +01:00
Andy Thompson
5c988b64b5
Fixes #4450 , add another expand_path ../ to get back to the guests directory
2014-09-04 20:51:10 +01:00
Andy Thompson
fb1d4adf87
Fixes #4438 typo missing sending networks param for rhel guest network
2014-09-03 16:09:30 +01:00
keithchambers
1f93582131
Fixed typo: hostnamectl vs. homenamectl
2014-09-02 21:55:33 -07:00
Mitchell Hashimoto
41f4ec1e4d
guests/redhat: set hostname on EL7 [GH-4352]
2014-08-31 09:58:12 -07:00
Mitchell Hashimoto
f4ee4764bb
guests/redhat: configure networks properly on EL7 [GH-4195]
2014-08-30 22:49:13 -07:00
Mitchell Hashimoto
6074a63683
guests/redhat: install Docker on EL7 properly [GH-4402]
2014-08-30 22:44:48 -07:00
Eric Saxby
dd77295533
Ensure rsync_post has find permissions on smartos
2014-08-29 14:17:28 -07:00
Mitchell Hashimoto
9e5a2d28c6
Merge pull request #4308 from Voxer/fix/master/issue4307
...
guest/freebsd: fix interface device names in /etc/rc.conf
2014-08-29 09:54:31 -07:00
Mitchell Hashimoto
b2b79a4ea8
guests/linux: backoff a bit on the mount timeout [GH-4403]
2014-08-29 09:47:34 -07:00
Mitchell Hashimoto
b42e9aef23
guests/linux: more verbose output when shared folder mount fails
...
[GH-4403]
2014-08-29 08:27:48 -07:00
Leo Simons
fec14cf04c
Use -f argument to rm to force-remove files.
...
When using pty=true, removing files using sudo may request confirmation,
which will hang the connection.
Similarly, sometimes assumptions about file existence may be wrong and
in those cases it seems better to continue on as long as the file does
not exist, so -f makes sense there, too.
2014-08-29 10:51:31 +02:00
Matt Wrock
d820bef6f4
filter host IPs to those that resolve on guest when finding addresable IPs on a windows guest
2014-08-11 00:07:21 -07:00
Matt Wrock
e64f84491e
adding smb sync folder implementation for windows guests addressing #3699
2014-08-11 00:07:21 -07:00
Kostyantyn Fomin
c43ab95f86
Fix Issue 4307: FreeBSD fix interface device names in /etc/rc.conf
...
https://github.com/mitchellh/vagrant/issues/4307
Fix details:
Pass network interface name to template renderer and use it
in static and dhcp templates to render /etc/rc.conf entries.
modified: plugins/guests/freebsd/cap/configure_networks.rb
modified: templates/guests/freebsd/network_dhcp.erb
modified: templates/guests/freebsd/network_static.erb
Verification scenario:
Check if /etc/rc.conf contains vtnet entries when paravirtualized
NIC devices are used in FreeBSD guest.
2014-08-06 14:10:05 -07:00
Mitchell Hashimoto
00bd226fc7
guests/nixos: don't detect as Windows [GH-4302]
2014-08-06 11:17:41 -07:00
Mitchell Hashimoto
3f456cdf45
Merge pull request #4088 from salimane/pr_nfs_rpcbind_centos
...
guests/centos: Restart rpcbind and nfs while installing nfs client on centos guests
2014-08-06 10:47:38 -07:00
Mitchell Hashimoto
bd94fbd9ba
Merge pull request #4274 from sax/smartos_rsync
...
guests/smartos: rsync on SmartOS should use pfexec
2014-08-05 17:20:38 -07:00
Gilles Dubreuil
bd4d4284c4
Fixes Fedora 20 network issues when virtual
...
On Fedora 20 virtual machines biosdevname command
'Returns 4 if running in a virtual machine.'
This patch:
- Uses the biosdevname command return value to detect if virtual
- Uses /sys/net to get interface names - Might be better solution
- Leaves unchanged the original 'bare metal' case - I wonder what for
though?
Tested with Fedora Cloud image adapted for vagrant-libvirt
Fixes issue #4104
2014-08-05 13:19:51 +10:00
Eric Saxby
0cb7ec2d52
rsync on SmartOS should use pfexec
2014-07-31 14:41:06 -07:00
Shawn Neal
911406ed4a
Addressed issues with Windows guest renaming on Win7/8
...
Removed dependency upon netdom which is not always available on all Windows versions. This implementation that uses PowerShell and WMI should work on all OS and PowerShell versions.
Fixed another issue where host renames would always happen when the hostname was longer than 15 characters. The COMPUTERNAME environment variable only returns the first 15 characters so we no longer use that to check the current host name.
2014-06-25 12:15:01 -07:00
Salimane Adjao Moustapha
dd74a82d56
avahi not needed
2014-06-23 17:17:54 +02:00
Salimane Adjao Moustapha
b96dc972e0
install rpc package while installing nfs client on centos guests
2014-06-23 14:56:10 +02:00
Mitchell Hashimoto
0c3d677bf5
Merge pull request #4006 from mitchellh/fix-issue-3987
...
guests/windows: reboot after hostname change
2014-06-12 11:40:22 -07:00
Mitchell Hashimoto
4d76327382
guests/freebsd: style
2014-06-12 11:38:53 -07:00
Calvin Hendryx-Parker
eda1ac5667
Updated the rsync freebsd plugin install process for FreeBSD 10
2014-06-10 15:07:50 -04:00
Shawn Neal
d4bd05883d
Fixed issue 3987
...
Reboot the Windows guest after renaming the computer so changes take affect immediately before attempting to provision the box.
- Changed rename from wmic to netdom since netdom seems to work correctly in Windows 2008R2 and newer OSs.
- Fixed Windows guest error translations, the wrong namespace was specified in the yaml file.
2014-06-09 22:46:03 -07:00
Doug MacEachern
3b1b3d0a00
Add nixos guest capability: nfs_client_installed
2014-06-05 17:53:32 -07:00
Matt Behrens
ef44f19601
drop `-r` flag from `xargs` on OS X
...
OS X's `xargs` does not support the `-r` flag (which means "do not
execute the command even once if there are no arguments"), but
behaves by default as if it was specified.
You can verify this yourself with this test:
$ touch zero-length-file
$ xargs echo <zero-length-file
If `echo` is executed, you will see a blank line. If it is not
executed (i.e. `-r` is specified or the behavior is implied) then
you will see no blank line.
2014-05-25 18:42:40 -04:00
Mitchell Hashimoto
aa70a816a5
Merge pull request #3874 from gpurkins/sol11-networkfix
...
guests/solaris11: Added conditional for temporary interfaces
2014-05-22 10:22:30 -07:00
Kalman Hazins
bb052366f7
Change symbols inside hashes to 1.9 JSON-like syntax
2014-05-22 12:35:12 -04:00
gpurkins
dcc7a755c9
added conditional for temporary interfaces
2014-05-21 18:21:05 -04:00
Pavel Karoukin
6fc1dd7b8a
For #3855
...
CoreOS vagrant's configuration code look for interface names starting with 'enp0', but in my case when deploying CoreOS image to libvirt environment interfaces had names 'ens4v1', 'ens5v2'
This patch should fix it, but it might be part of a bigger issue and having these two patterns might not cover all possible configurations.
2014-05-20 02:29:53 +02:00
Mitchell Hashimoto
aa2cbae89b
Merge pull request #3818 from RabidGuppy/master
...
Windows Guest: cannot assign static IP addresses in private_network when running vagrant on windows host
2014-05-19 02:14:06 -07:00
Mitchell Hashimoto
05ccf88c5f
Merge pull request #3830 from cstrahan/nixos-guest
...
Add NixOS guest support
2014-05-18 02:22:02 -07:00
Charles Strahan
38d749dc1f
Add NixOS guest support
2014-05-18 04:14:33 -04:00
Mitchell Hashimoto
9c7fb05d5f
guests/darwin: respect NFS mount options [GH-3791]
2014-05-17 12:24:24 -07:00
Mitchell Hashimoto
34b7cace7b
synced_folders/rsync: rsync__chown [GH-3810]
2014-05-17 12:01:50 -07:00
Jason D. Smith
18894b81cd
Inverting the hash of driver_mac_addresses returned by machine.provider.capability(:nic_mac_addresses).
...
The previous code expected the hash to use the mac addresses as the keys, the original code had the indices as the keys.
2014-05-16 12:56:30 -04:00
Trey Hyde
ca986455f3
guests/freebsd: Properly register that the rsync_pre capability belongs to FreeBSD rather than defining re-defining it for Linux.
2014-05-13 18:07:35 -07:00
Teemu Matilainen
f87c7a9bc9
synced_folders\rsync: remove non-portable '-v' flag from chown [GH-3743]
...
Aside of the already fixed OpenBSD, at least Solaris `chown` seems not
to support the `-v` option, so remove it from all guests.
2014-05-10 23:51:12 +03:00
Mitchell Hashimoto
c7abea2032
guests/linux: exclude symlinks from chown search [GH-3744]
2014-05-09 16:08:11 -07:00
Matt Behrens
a8fb2de7aa
remove `-v` flag from post-rsync `chmod`
...
OpenBSD `chmod` does not support the `-v` flag, which causes
`vagrant up` to fail.
2014-05-09 18:31:23 -04:00
Mitchell Hashimoto
8bb9d18260
guests/windows: nicer error if winrm not in use to configure networks [GH-3651]
2014-05-06 19:00:58 -07:00
Mitchell Hashimoto
326e8012f7
guests/*: setup rsync_pre properly
2014-05-06 18:40:55 -07:00
Mitchell Hashimoto
4ef237a642
synced_folders/rsync: mkdir before rsync
2014-05-06 13:41:37 -07:00
Mitchell Hashimoto
e7a5dc4f8e
Revert "Merge pull request #3643 from cammoraton/rhel7-plugin-fixes"
...
This reverts commit 919d0b9f4b
, reversing
changes made to 924c47feb3
.
2014-05-06 13:26:44 -07:00
Mitchell Hashimoto
9d2d4b9675
guests/mint: don't need to inherit from ubuntu class
2014-05-06 12:50:35 -07:00
Chris Hubbard
fd86f5a57e
Add Linux Mint detection
...
* Linux Mint is a popular distribution based on Ubuntu
* When creating a VM based on Linux Mint, it cannot detect
that it is based on Ubuntu and it is detected as just linux
and configure_networks fails
* https://github.com/mitchellh/vagrant/issues/3647
2014-05-06 15:09:33 -04:00
Mitchell Hashimoto
919d0b9f4b
Merge pull request #3643 from cammoraton/rhel7-plugin-fixes
...
Rhel7 guest plugin fixes
2014-05-06 08:42:24 -07:00
Jonas Stendahl
8b5869fdc5
Don't wrap the escaped password in single quotes.
2014-05-06 15:47:44 +02:00
cammoraton
6d6282f1be
Finished up fixes. Removed some artifacts.
2014-05-06 08:48:01 -04:00
cammoraton
5345c1479a
Fix configure networks and templates to work off polled interface names.
2014-05-06 08:44:36 -04:00
cammoraton
6ff81dc29c
Add interfaces_list capability to get list of interfaces via biosdevname
...
or dmesg parsing.
2014-05-06 08:44:15 -04:00
Mitchell Hashimoto
19050d26cf
guests/debian: setting hostname works without 127.0.1.1 [GH-3271]
2014-05-04 18:32:33 -07:00
Mitchell Hashimoto
04369b3afe
guests/linux: LANG=en for ifconfig [GH-3029]
2014-05-04 17:47:16 -07:00
Shawn Neal
c99a1fb2ae
Display deprecation warning for unused halt config properties
...
halt_timeout and halt_check_interval will be removed in the next version of Vagrant, 1.7.
2014-05-01 09:03:49 -07:00
Shawn Neal
f4b67df978
Removed unused halt timeout and check interval settings.
2014-05-01 08:00:41 -07:00
Shawn Neal
068b5cf0b9
Move Windows symlink re-establishment after reboot into capability
...
This reduces the complexity and likelihood of provisioner bugs.
2014-04-30 17:36:36 -07:00