From: Denis V. Meltsaykin Date: Fri, 11 Sep 2015 12:17:14 +0000 (+0300) Subject: Small changes to deploy_cluster X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F65%2F11465%2F1;p=tools%2Fsustaining.git Small changes to deploy_cluster As Fuel 6.1 doesn't work reliable with 'virtio' NICs, changing them to 'e1000'. Also small cosmetic change to ifcfg generated config. Change-Id: I2311ae945cfd957d20d14b3f2dfef19f5f4577cb --- diff --git a/jenkins/build_cluster/build_cluster.py b/jenkins/build_cluster/build_cluster.py index 7e25cd6..6f6193c 100755 --- a/jenkins/build_cluster/build_cluster.py +++ b/jenkins/build_cluster/build_cluster.py @@ -331,12 +331,12 @@ def start_node(name, admin=False): - +
- +
@@ -448,11 +448,11 @@ def inject_ifconfig_ssh(): "BOOTPROTO=static\n" \ "NM_CONTROLLED=no\n" \ "IPADDR={ip}\n" \ - "PREFIX={prefix}\n" \ + "NETMASK={netmask}\n" \ "GATEWAY={gw}\n" \ .format( ip=str(cfg["PUBLIC_SUBNET"].ip + 2), - prefix=str(cfg["PUBLIC_SUBNET"].prefixlen), + netmask=str(cfg["PUBLIC_SUBNET"].netmask), gw=str(cfg["PUBLIC_SUBNET"].ip + 1) ) print ("\nTo fuel:\n{0}".format(rule))