diff --git a/sysbox-eks.pkr.hcl b/sysbox-eks.pkr.hcl index da4c97c..e1f7014 100644 --- a/sysbox-eks.pkr.hcl +++ b/sysbox-eks.pkr.hcl @@ -390,7 +390,8 @@ build { inline_shebang = "/usr/bin/env bash" inline = [ "echo '>>> Preparing to install NVIDIA Drivers'", - "sudo apt install gcc-12 g++-12 dkms", + "sudo apt-get update", + "sudo apt-get install -y gcc-12 g++-12 dkms", "sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 10", "sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 20" ]