Start up the nodes when they're provisioned so maas can find them on the network
This commit is contained in:
parent
04d072ebf3
commit
bd2d0ad469
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user