This commit is contained in:
2022-09-22 02:03:35 -04:00
parent b27680e17e
commit bbff0ddfd2
7 changed files with 87 additions and 493 deletions

8
scripts/autoinstall.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/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

5
scripts/setup.sh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive
sudo chmod u+x /tmp/debianzfs.sh
sudo apt-get update
sudo apt-get install -y expect