summaryrefslogtreecommitdiff
path: root/zfssetup/stage0.sh
diff options
context:
space:
mode:
authorCraig Jennings <craigmartinjennings@gmail.com>2023-05-04 12:53:34 -0500
committerCraig Jennings <craigmartinjennings@gmail.com>2023-05-04 12:54:01 -0500
commit13d60ec80f32f03958646ad7188151ae9ce4ccae (patch)
treeeb11a1aade10789a2752e9e81050dc4574280451 /zfssetup/stage0.sh
parentca430531ad569e2bd5353b6c0638b826986eb3c8 (diff)
adding zfsarch files
Diffstat (limited to 'zfssetup/stage0.sh')
-rwxr-xr-xzfssetup/stage0.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/zfssetup/stage0.sh b/zfssetup/stage0.sh
new file mode 100755
index 0000000..74132dc
--- /dev/null
+++ b/zfssetup/stage0.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+pacman-key --init
+pacman-key --refresh-keys
+pacman-key --populate
+pacman -Syy
+pacman -S --noconfirm openssh tmux
+systemctl start sshd
+echo "root:welcome" | chpasswd
+# curl -s https://raw.githubusercontent.com/eoli3n/archiso-zfs/master/init | bash
+# echo ""; echo "Enter password for zfsarch repository when prompted"
+# git clone cjennings@cjennings.net:git/zfsarch.git
+echo ""; echo "Stage 0 completed."