diff --git a/.gitignore b/.gitignore index 198cbf2..ceb9afb 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,5 @@ /scratch /crio + +.*sw* diff --git a/sysbox-eks.pkr.hcl b/sysbox-eks.pkr.hcl index 0b603b2..53449c1 100644 --- a/sysbox-eks.pkr.hcl +++ b/sysbox-eks.pkr.hcl @@ -1,5 +1,5 @@ variable "ubuntu_version" { - type = string + default = "focal-20.04" validation { @@ -148,6 +148,7 @@ build { "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", + "sudo mkdir /var/log/sysbox" ] } diff --git a/systemd/system/sysbox-fs.service b/systemd/system/sysbox-fs.service index 0920e71..96e99f6 100644 --- a/systemd/system/sysbox-fs.service +++ b/systemd/system/sysbox-fs.service @@ -6,7 +6,7 @@ After=sysbox-mgr.service [Service] Type=simple Type=notify -ExecStart=/usr/bin/sysbox-fs +ExecStart=/bin/sh -c "/usr/bin/sysbox-fs --log /dev/null" Restart=always TimeoutStartSec=10 TimeoutStopSec=10