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