summaryrefslogtreecommitdiffstats
path: root/makefu/1systems/shack-autoinstall/grub-partition.sh
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-09-17 00:36:33 +0200
committermakefu <github@syntax-fehler.de>2018-09-17 00:36:33 +0200
commitff97cafacfe5439d23c546a0f41d9bf88991c73d (patch)
treea678069d2e98f3fc9f1a4d7b586b4413ad1893b6 /makefu/1systems/shack-autoinstall/grub-partition.sh
parent443b88738aa064dd7f2d88b58d18751f5a2646e7 (diff)
ma shack-autoinstall: add WIP
Diffstat (limited to 'makefu/1systems/shack-autoinstall/grub-partition.sh')
-rw-r--r--makefu/1systems/shack-autoinstall/grub-partition.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/makefu/1systems/shack-autoinstall/grub-partition.sh b/makefu/1systems/shack-autoinstall/grub-partition.sh
new file mode 100644
index 00000000..c23c8979
--- /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%