From c85a926991285b5c06f1b4be67b679983d64a7f9 Mon Sep 17 00:00:00 2001 From: c0de Date: Thu, 15 Dec 2022 23:43:47 -0600 Subject: [PATCH] don't have grow-root.service --- arch.pkr.hcl | 7 ------- files/grow-root.service | 9 --------- 2 files changed, 16 deletions(-) delete mode 100644 files/grow-root.service diff --git a/arch.pkr.hcl b/arch.pkr.hcl index 7a19bc0..e90a45c 100644 --- a/arch.pkr.hcl +++ b/arch.pkr.hcl @@ -68,7 +68,6 @@ build { sources = ["source.qemu.arch"] provisioner "shell" { - pause_before = "5s" scripts = [ "${path.root}/scripts/partition_disk.sh", "${path.root}/scripts/install_system.sh", @@ -91,13 +90,7 @@ build { inline = ["chmod +x /usr/local/sbin/grow-root"] } - provisioner "file" { - source = "files/grow-root.service" - destination = "/etc/systemd/system/grow-root.service" - } - provisioner "shell" { - pause_before = "10s" scripts = [ "${path.root}/scripts/enable_services.sh", "${path.root}/scripts/install_bootloader.sh", diff --git a/files/grow-root.service b/files/grow-root.service deleted file mode 100644 index d657857..0000000 --- a/files/grow-root.service +++ /dev/null @@ -1,9 +0,0 @@ -[Unit] -Description=Grows the root partition and filesystem to match disk size - -[Service] -Type=oneshot -ExecStart=/usr/local/sbin/grow-root - -[Install] -WantedBy=multi-user.target