Fix VBoxManage command call in slave-nodes-...sh
Fix VBoxManage comman call in slave-nodes-create-and-boot.sh Related-Bug: 1498894 Change-Id: I91b0b93bf49e6025301624ed4ce7bbc64b2d2955
This commit is contained in:
parent
ebabd4604b
commit
91d01e01ee
|
@ -50,8 +50,8 @@ for idx in $(eval echo {1..$cluster_size}); do
|
|||
add_disk_to_vm $name 2 $vm_slave_third_disk_mb
|
||||
|
||||
#add NIC1 MAC to description
|
||||
mac=$(execute vboxmanage showvminfo $name |awk -F ': ' '$1~/NIC 1/ {mac=gensub(/^.+ MAC: ([0-9A-F]{12}).+$/,"\\1","g",$0);print mac}')
|
||||
execute vboxmanage modifyvm $name --description $mac
|
||||
mac=$(execute VBoxManage showvminfo $name |awk -F ': ' '$1~/NIC 1/ {mac=gensub(/^.+ MAC: ([0-9A-F]{12}).+$/,"\\1","g",$0);print mac}')
|
||||
execute VBoxManage modifyvm $name --description $mac
|
||||
|
||||
#add RDP connection
|
||||
if [ ${headless} -eq 1 ]; then
|
||||
|
|
Loading…
Reference in New Issue