don't have grow-root.service
This commit is contained in:
parent
b4990f62b4
commit
c85a926991
@ -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
|
|
Loading…
Reference in New Issue
Block a user