Compare commits
2 Commits
97c08b197c
...
c85a926991
Author | SHA1 | Date | |
---|---|---|---|
c85a926991 | |||
b4990f62b4 |
@ -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",
|
||||||
|
@ -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
|
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user