From 83da47cdd10744b0582c5178ba07ec2c5f75d4e0 Mon Sep 17 00:00:00 2001 From: lub Date: Sat, 21 Dec 2019 19:47:19 +0100 Subject: [PATCH] remove obsolete templates --- hardware/ovh/parted.sh | 20 -------------------- hardware/test-vm/parted.sh | 20 -------------------- 2 files changed, 40 deletions(-) delete mode 100755 hardware/ovh/parted.sh delete mode 100755 hardware/test-vm/parted.sh diff --git a/hardware/ovh/parted.sh b/hardware/ovh/parted.sh deleted file mode 100755 index 7a768c4..0000000 --- a/hardware/ovh/parted.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -set -e - - -# root 440GiB -# boot 2GiB -# free 5GiB - -parted /dev/sda mklabel msdos -parted /dev/sda mkpart primary 1 440GiB -parted /dev/sda mkpart primary 440GiB 442GiB -parted /dev/sdb mklabel msdos -parted /dev/sdb mkpart primary 1 440GiB -parted /dev/sdb mkpart primary 440GiB 442GiB - -sleep 1 - -# $1=hostname -echo 'yes' | mdadm -C /dev/md0 --homehost="$1" -l1 -n2 /dev/sd[ab]1 -echo 'yes' | mdadm -C /dev/md1 --homehost="$1" -l1 -n2 /dev/sd[ab]2 diff --git a/hardware/test-vm/parted.sh b/hardware/test-vm/parted.sh deleted file mode 100755 index 9391de4..0000000 --- a/hardware/test-vm/parted.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash -set -e - - -# root 10GB -# boot 5GB -# free 5GB - -parted /dev/vda mklabel msdos -parted /dev/vda mkpart primary 1 10GB -parted /dev/vda mkpart primary 10GB 15GB -parted /dev/vdb mklabel msdos -parted /dev/vdb mkpart primary 1 10GB -parted /dev/vdb mkpart primary 10GB 15GB - -sleep 1 - -# $1=hostname -echo 'yes' | mdadm -C /dev/md0 --homehost="$1" -l1 -n2 /dev/vd[ab]1 -echo 'yes' | mdadm -C /dev/md1 --homehost="$1" -l1 -n2 /dev/vd[ab]2