126
126
#sleeping for 2 minutes so all nodes can commission and then execute properly adding them to the correct fabric
143
150
interface=$(maas admin nodes read hostname=node${nodenum}ob${ob_number} |grep enx | cut -d '"' -f4)
144
151
system_id=$(maas admin nodes read hostname=node${nodenum}ob${ob_number} |grep system_id | cut -d'"' -f4)
146
152
maas admin interface update $system_id $interface vlan=$vlanid