Nodes waiting for manual partitioning
Adds serial numbers of disks to slave nodes Change-Id: I20b66de6b2917e9674fb124068630ba5da3e59cf Closes-Bug: #1431891
This commit is contained in:
parent
9737a945a6
commit
6a1b721625
|
@ -141,6 +141,11 @@ add_disk_to_vm() {
|
|||
disk_filename="${disk_name}.vdi"
|
||||
VBoxManage createhd --filename "$vm_disk_path/$disk_filename" --size $disk_mb --format VDI
|
||||
VBoxManage storageattach $vm_name --storagectl 'SATA' --port $port --device 0 --type hdd --medium "$vm_disk_path/$disk_filename"
|
||||
|
||||
# Add serial numbers of disks to slave nodes
|
||||
echo "Adding serial numbers of disks to $vm_name..."
|
||||
VBoxManage setextradata $vm_name "VBoxInternal/Devices/ahci/0/Config/Port$port/SerialNumber" "VBOX-MIRANTIS-VHD$port"
|
||||
|
||||
}
|
||||
|
||||
delete_vm() {
|
||||
|
|
Loading…
Reference in New Issue