lib/cloudstrap/bootstrap_agent.rb in cloudstrap-0.34.0.pre vs lib/cloudstrap/bootstrap_agent.rb in cloudstrap-0.34.1.pre
- old
+ new
@@ -427,9 +427,10 @@
upload! properties, '/home/ubuntu/bootstrap.properties'
as :root do
execute :apt, *%w(install --assume-yes genisoimage aria2)
+ execute :rm, '-f', '/opt/bootstrap.deb'
execute :aria2c, '--continue=true', '--dir=/opt', '--out=bootstrap.deb', package
execute :dpkg, *%w(--install /opt/bootstrap.deb)
end
end
end