Skip to content
Snippets Groups Projects

Feature fix hostname os

1 file
+ 1
2
Compare changes
  • Side-by-side
  • Inline
+ 1
2
@@ -70,13 +70,12 @@ Vagrant.configure("2") do |config|
if [ -f /vagrant/localenv.sh ]; then
. /vagrant/localenv.sh
fi
hostnamectl set-hostname ohpc
yum install -y epel-release
yum install -y ansible git vim bash-completion
yum install -y NetworkManager
systemctl restart NetworkManager
nmcli con mod "Wired connection 1" connection.id "eth1"
ansible-playbook -c local -i /vagrant/CRI_XCBC/hosts -l `hostname` /vagrant/CRI_XCBC/site.yaml -b
ansible-playbook -c local -i /vagrant/CRI_XCBC/hosts -l `hostname -s` /vagrant/CRI_XCBC/site.yaml -b
SHELL
Loading