This commit is contained in:
2022-09-22 01:32:55 -04:00
parent b27680e17e
commit 2b9acf9a91
6 changed files with 80 additions and 492 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