Skip to content

Commit

Permalink
add sysbox service files
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuldesai1 committed Mar 25, 2024
1 parent 26ff4b9 commit db5033d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions sysbox-eks.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,21 @@ build {
]
}

provisioner "file" {
source = "systemd/system"
destination = "/home/ubuntu"
}

provisioner "shell" {
inline_shebang = "/usr/bin/env bash"
inline = [
"echo '>>> Configuring Systemd for Sysbox'",
"sudo mv /home/ubuntu/systemd/system/sysbox-mgr.service /lib/systemd/system/sysbox-mgr.service",
"sudo mv /home/ubuntu/systemd/system/sysbox-fs.service /lib/systemd/system/sysbox-fs.service",
"sudo mv /home/ubuntu/systemd/system/sysbox.service /lib/systemd/system/sysbox.service",
]
}

provisioner "shell" {
inline_shebang = "/usr/bin/env bash"
inline = [
Expand Down

0 comments on commit db5033d

Please sign in to comment.