From ff97cafacfe5439d23c546a0f41d9bf88991c73d Mon Sep 17 00:00:00 2001 From: makefu Date: Mon, 17 Sep 2018 00:36:33 +0200 Subject: ma shack-autoinstall: add WIP --- makefu/1systems/shack-autoinstall/grub-partition.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 makefu/1systems/shack-autoinstall/grub-partition.sh (limited to 'makefu/1systems/shack-autoinstall/grub-partition.sh') diff --git a/makefu/1systems/shack-autoinstall/grub-partition.sh b/makefu/1systems/shack-autoinstall/grub-partition.sh new file mode 100644 index 000000000..c23c89799 --- /dev/null +++ b/makefu/1systems/shack-autoinstall/grub-partition.sh @@ -0,0 +1,5 @@ +#!/bin/sh +set -euf +parted -s ${disk} mklabel msdos +parted -s ${disk} -- mkpart primary linux-swap 1M 4096M +parted -s ${disk} -- mkpart primary ext2 4096M 100% -- cgit v1.2.3