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 "us-1.virl.info,us-2.virl.info,us-4.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"
46 expect "Determining pillar cache"
49 puts "*******************STEP 9*************************************************************************************************************************************************"
50 expect "Which step are you on"
55 puts "*******************STEP 11*************************************************************************************************************************************************"
56 expect "Which step are you on"