lib/testlab/container/io.rb in testlab-1.20.6 vs lib/testlab/container/io.rb in testlab-1.21.0
- old
+ new
@@ -72,11 +72,11 @@
do_provisioner_callbacks(self, :export, @ui)
# Ensure the container is stopped before we attempt to export it.
self.down
- self.lxc.execute(%(/bin/bash -c 'apt-get -y autoremove'))
- self.lxc.execute(%(/bin/bash -c 'apt-get -y clean'))
+ self.lxc.execute(%(/bin/bash -c 'apt-get -qy autoremove'))
+ self.lxc.execute(%(/bin/bash -c 'apt-get -qy clean'))
export_tempfile = Tempfile.new('export')
remote_filename = File.basename(export_tempfile.path.dup)
export_tempfile.close!