9 lines
160 B
Bash
9 lines
160 B
Bash
|
#!/usr/bin/expect -d
|
||
|
set timeout -1
|
||
|
|
||
|
spawn /tmp/debianzfs.sh /dev/vda
|
||
|
expect "You selected to OVERWRITE '/dev/vda', are you sure? [y/N]"
|
||
|
send "y\r"
|
||
|
|
||
|
expect eof
|