diff --git a/profiles/DerGeret/Arch/partition.sh b/profiles/DerGeret/Arch/partition.sh new file mode 100644 index 00000000..342849f2 --- /dev/null +++ b/profiles/DerGeret/Arch/partition.sh @@ -0,0 +1,28 @@ +#!/bin/bash +{ + echo "d"; + echo "2"; + + echo "d"; + echo "3"; + + echo "n"; + echo ""; + echo ""; + echo "+${SWAP_SIZE}G"; + echo "y"; + echo "t"; + echo "2"; + echo "19"; + + echo "n"; + echo ""; + echo ""; + echo ""; + echo "y"; + echo "t"; + echo "3"; + echo "23"; + + echo "w"; +} | fdisk "$ARCH_DISK"; diff --git a/profiles/DerGeret/Arch/setup.sh b/profiles/DerGeret/Arch/setup.sh index 65fd1b08..ddad03ad 100755 --- a/profiles/DerGeret/Arch/setup.sh +++ b/profiles/DerGeret/Arch/setup.sh @@ -1,6 +1,7 @@ #!/bin/bash pushd "${BASH_SOURCE%/*}" > /dev/null; +PARTITION_SCRIPT="$(realpath ./partition.sh)" \ ARCH_MOUNT_ROOT="/mnt" \ ARCH_DISK=nvme0n1 \ ARCH_HOSTNAME="der-geret" \