3 if ![ string equal $::env(USER) "root"] {
4 puts "Please re-run this script as root."
8 log_file /tmp/virl-bootstrap.log
11 spawn ./virl-bootstrap.py
12 expect "Which step are you on"
16 send "vsm-md.virl.info\r"
18 expect "Which step are you on"
22 send "{{ hostname }}\r"
23 expect "Salt domain name"
24 send "linuxfoundation.org\r"
26 expect "Which step are you on"
29 expect "System hostname"
30 send "{{ hostname }}\r"
31 expect "System Domain name"
32 send "linuxfoundation.org\r"
34 expect "Which step are you on"
37 puts "*******************STEP 6*************************************************************************************************************************************************"
38 expect "Which step are you on"
40 expect "Salt installed"
42 puts "*******************STEP 8*************************************************************************************************************************************************"
43 expect "Which step are you on"
48 puts "*******************STEP 9*************************************************************************************************************************************************"
49 expect "Which step are you on"
54 puts "*******************STEP 11*************************************************************************************************************************************************"
55 expect "Which step are you on"