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
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
sprin
a712f70634
Fix NFSClient plugin for Redhat / Centos 7 guests
...
Fixes #4476 .
2014-09-12 15:35:10 -07: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
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
Kalman Hazins
bb052366f7
Change symbols inside hashes to 1.9 JSON-like syntax
2014-05-22 12:35:12 -04: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
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
cae4a1c554
guests/redhat: force remove files so it works with pty
2014-03-05 16:22:55 -08:00
Teemu Matilainen
ee2ae94c25
synced_folders/rsync: Install `rsync` on guest if needed
...
Add new `rsync_installed` and `rsync_install` guest capabilities
to detect and install `rsync`.
Also copy `rsync_pre` capability to all Unix guests.
2014-01-31 02:12:57 -03:00
Teemu Matilainen
e979b84d36
synced_folders/nfs: Register `nfs_client_install` caps to correct distros
2014-01-15 23:37:02 -03:00
Mitchell Hashimoto
91380c0650
synced_folders/nfs: automatically install NFS client if possible
...
If guests have the following capabilities, automatic NFS client
installation will be done:
* nfs_client_installed - Checks if the NFS client is installed
* nfs_client_install - Install the NFS client
Support is already in for Debian, Ubuntu, RedHat, CentOS, and Fedora
2014-01-09 16:58:20 -08:00
smoyer
3964298504
This was introduced in 1.4.1 with d26c147
.
...
This PR sets the active hostname back to the name specified in the Vagrantfile (fqdn) and updates the unit tests.
Setting it to the short name causes loads of problems while configuring the system. I've had issues with sudoers hostname matching, Weblogic certificate generation and a few others. Even if I changed all of the Chef recipes, the fqdn is set in /etc/sysconfig/network so the active hostname will switch to the fqdn after a reboot.
2014-01-08 17:49:54 -05:00
Charlie Huggard
d26c1471d7
Refactor ChangeHostName for EL.
...
Based off of the Debian pattern. Need to add tests.
Related to #2653 and #2592
2013-12-16 01:52:39 -06:00
Markus Kern
c8a09b344b
guests/redhat: Don't error if ifdown fails [GH-2614]
2013-12-10 20:04:36 +00:00
Mitchell Hashimoto
05b2e03586
guests/redhat: don't ifdown non-existent interfaces [GH-2614]
2013-12-10 09:04:20 -08:00
Mitchell Hashimoto
fc190fad9f
guests/redhat: DHCP_HOSTNAME set to hostname [GH-2441]
2013-11-26 11:28:47 -08:00
Jonathan Li
1ad756d52c
ifdown ethN before munging ifcfg-ethN (i.e. removing previous vagrant config for network interface)
2013-11-02 12:35:37 -07:00
François Charlier
c1228ae206
Allow to change the DHCP_HOSTNAME on RedHat
2013-09-24 23:48:10 +02:00
JP Rosevear
1029538b24
Set ARPCHECK=no as an environment variable with doing ifup #921
2013-06-09 14:14:33 -04:00
Mitchell Hashimoto
ba07d303e5
More robust hostname checking for RedHat [GH-1566]
2013-04-10 09:33:33 -07:00
Mitchell Hashimoto
78d4d0a790
Networks come back up properly after reboot on RedHat [GH-921]
2013-04-08 11:02:03 -07:00
Mitchell Hashimoto
fd157476b4
extend should be include for TemplateRenderer in caps
2013-04-08 10:47:19 -07:00
Mitchell Hashimoto
5e09577a76
Lots more guest capabilities converted
2013-04-04 12:09:40 -07:00
Mitchell Hashimoto
52f3847b0a
Laying the foundation for the new guest plugin
2013-04-03 21:47:57 -07:00
Elad Rosenheim
0915186b26
Fix guest plugin for RH & SUSE
2012-12-31 10:38:36 +02:00
Mitchell Hashimoto
1d2beff649
Guests to V2
2012-11-06 21:14:45 -08:00
Mitchell Hashimoto
459d82689e
Get rid of autoload use in Guests
...
I don't use `activated` here because I'd really like to optimize
performance as much as possible, and loading files from disk is
generally slow. So instead of using `activated` I load the file at the
last possible moment which is when the exact class is being requested.
I don't think many people will do this outside of the core, and I'm not
too concerned.
2012-05-23 15:57:43 -07:00
Mitchell Hashimoto
9956e6d012
Better directory structure for plugins
2012-04-20 16:53:01 -07:00