diff options
author | Brenton Leanhardt <bleanhar@redhat.com> | 2015-10-20 10:22:27 -0400 |
---|---|---|
committer | Brenton Leanhardt <bleanhar@redhat.com> | 2015-10-20 10:22:27 -0400 |
commit | 205927e40513f9162523e1039d3f25d63ace5a1e (patch) | |
tree | 93595058abbf600edebee8fbe772b2da3af530e2 /playbooks/libvirt/openshift-cluster/templates | |
parent | 25354bb8f15efb829174ad53d56a31ff2fc95be9 (diff) | |
parent | 2679d760c8abbb1140f82582329dfdc8be835a76 (diff) | |
download | openshift-205927e40513f9162523e1039d3f25d63ace5a1e.tar.gz openshift-205927e40513f9162523e1039d3f25d63ace5a1e.tar.bz2 openshift-205927e40513f9162523e1039d3f25d63ace5a1e.tar.xz openshift-205927e40513f9162523e1039d3f25d63ace5a1e.zip |
Merge pull request #711 from jaryn/fix_libvirt_ip_issues
Fix libvirt ip issues
Diffstat (limited to 'playbooks/libvirt/openshift-cluster/templates')
-rw-r--r-- | playbooks/libvirt/openshift-cluster/templates/user-data | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/playbooks/libvirt/openshift-cluster/templates/user-data b/playbooks/libvirt/openshift-cluster/templates/user-data index 77b788109..eacae7c7e 100644 --- a/playbooks/libvirt/openshift-cluster/templates/user-data +++ b/playbooks/libvirt/openshift-cluster/templates/user-data @@ -19,5 +19,5 @@ system_info: ssh_authorized_keys: - {{ lookup('file', '~/.ssh/id_rsa.pub') }} -bootcmd: +runcmd: - NETWORK_CONFIG=/etc/sysconfig/network-scripts/ifcfg-eth0; if ! grep DHCP_HOSTNAME ${NETWORK_CONFIG}; then echo 'DHCP_HOSTNAME="{{ item[0] }}.example.com"' >> ${NETWORK_CONFIG}; fi; pkill -9 dhclient; service network restart |