"""Removing the given system."""
LOG.info(_("Removing system {!r} ...").format(name))
- print_section_start('remove_system', "Creating new system ...", collapsed=True)
+ print_section_start('remove_system', "Removing system ...", collapsed=True)
args = ['system', 'remove']
args.append('--name')
print_section_end('remove_system')
raise ExpectedCobblerError(msg)
- print_section_end('remove_system')
self.sync()
+ print_section_end('remove_system')
# -------------------------------------------------------------------------
def sync(self):
#-----------------------------------------------------------
create_authkeys() {
+ echo -e "\e[0Ksection_start:$( date +%s ):ks_create_authkeys[collapsed=true]\r\e[0KCreating authorized_keys of root ..."
echo
echo "${HASH_LINE}"
echo "Calling create_authkeys() ..."
cat "${tmp_file}" >> /root/.ssh/authorized_keys
fi
rm -v "${tmp_file}"
+ echo -e "\e[0Ksection_end:$( date +%s ):ks_create_authkeys\r\e[0K"
}
create_authkeys