info "Making cache ..."
exec_cmd ${tool} --assumeyes makecache
+ echo
+ info "Removing cloud-init ..."
+ if rpm -qa | grep --quiet --perl-regexp '^cloud-init-\d' ; then
+ exec_cmd ${tool} --assumeyes erase cloud-init
+ fi
+
echo
info "Doing upgrade ..."
exec_cmd ${tool} --assumeyes upgrade
info "Making cache again ..."
exec_cmd ${tool} --assumeyes makecache
+ echo
+ info "Removing pointless stuff ..."
+ exec_cmd ${tool} --assumeyes autoremove
+
}
#------------------------------------------------------------------------------