Compare commits

...

2 Commits

Author SHA1 Message Date
c85a926991 don't have grow-root.service 2022-12-15 23:43:47 -06:00
b4990f62b4 install jq 2022-12-15 23:43:27 -06:00
3 changed files with 1 additions and 17 deletions

View File

@ -68,7 +68,6 @@ build {
sources = ["source.qemu.arch"] sources = ["source.qemu.arch"]
provisioner "shell" { provisioner "shell" {
pause_before = "5s"
scripts = [ scripts = [
"${path.root}/scripts/partition_disk.sh", "${path.root}/scripts/partition_disk.sh",
"${path.root}/scripts/install_system.sh", "${path.root}/scripts/install_system.sh",
@ -91,13 +90,7 @@ build {
inline = ["chmod +x /usr/local/sbin/grow-root"] inline = ["chmod +x /usr/local/sbin/grow-root"]
} }
provisioner "file" {
source = "files/grow-root.service"
destination = "/etc/systemd/system/grow-root.service"
}
provisioner "shell" { provisioner "shell" {
pause_before = "10s"
scripts = [ scripts = [
"${path.root}/scripts/enable_services.sh", "${path.root}/scripts/enable_services.sh",
"${path.root}/scripts/install_bootloader.sh", "${path.root}/scripts/install_bootloader.sh",

View File

@ -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

View File

@ -6,7 +6,7 @@ pacman-key --init
# Install the system # Install the system
pacstrap -K /mnt base linux linux-firmware rng-tools grub parted \ pacstrap -K /mnt base linux linux-firmware rng-tools grub parted \
sudo openssh ufw cloud-utils nomad nomad-driver-nspawn \ sudo openssh ufw cloud-utils nomad nomad-driver-nspawn \
git vim htop bmon git vim htop bmon jq
# Clear the cache # Clear the cache
arch-chroot /mnt pacman -Scc --noconfirm arch-chroot /mnt pacman -Scc --noconfirm