Browse Source

Add the serial COM1 port to the slave nodes.

Change-Id: I9a9604a884e339476ffcf810ca6525137d44a527
Closes-Bug: #1590378
Signed-off-by: Maksim Malchuk <mmalchuk@mirantis.com>
Maksim Malchuk 2 years ago
parent
commit
72178d84c2
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      actions/slave-nodes-create-and-boot.sh

+ 3
- 0
actions/slave-nodes-create-and-boot.sh View File

@@ -49,6 +49,9 @@ for idx in $(eval echo {1..$cluster_size}); do
49 49
   add_disk_to_vm $name 1 $vm_slave_second_disk_mb
50 50
   add_disk_to_vm $name 2 $vm_slave_third_disk_mb
51 51
 
52
+  #add COM1 port for serial console
53
+  execute VBoxManage modifyvm $name --uart1 0x03f8 4 --uartmode1 disconnected
54
+
52 55
   #add NIC1 MAC to description
53 56
   mac=$(execute VBoxManage showvminfo $name --machinereadable |awk -F '=' '{ if ($1 == "macaddress1") print $2}')
54 57
   execute VBoxManage modifyvm $name --description $mac

Loading…
Cancel
Save