diff --git a/distro/debian/debian.go b/distro/debian/debian.go index a7e931f..58e6e46 100644 --- a/distro/debian/debian.go +++ b/distro/debian/debian.go @@ -208,7 +208,10 @@ func ContainerCommands(km config.KernelMask) (commands []string) { cmdf("echo '%s' >> /etc/apt/sources.list", repo) } } else { - cmdf("sed -e '/snapshot/!d' -e 's/# deb/deb [check-valid-until=no trusted=yes]/' /etc/apt/sources.list") + cmdf("sed -i " + + "-e '/snapshot/!d' " + + "-e 's/# deb/deb [check-valid-until=no trusted=yes]/' " + + "/etc/apt/sources.list") } cmdf("apt-get update")