Start up the nodes when they're provisioned so maas can find them on the network

This commit is contained in:
desrod 2020-05-06 23:27:44 -04:00
parent 04d072ebf3
commit bd2d0ad469

View File

@ -63,8 +63,8 @@ build_vms() {
--disk path="$storage_path/$virt_node/$virt_node-d3.img,format=$storage_format,size=$d3,bus=$bus,io=native,cache=directsync" \
--network=network=$network,mac="$macaddr1",model=$nic_model \
--network=network=$network,mac="$macaddr2",model=$nic_model > "$virt_node.xml" &&
virsh define "$virt_node.xml" &
# virsh start "$virt_node"
virsh define "$virt_node.xml"
virsh start "$virt_node" &
done
}