Fixed password prompt for nspawn

This commit is contained in:
Anton Hvornum 2019-11-29 17:47:21 +01:00
parent 9eb80c139f
commit cb3d16b0bb
1 changed files with 1 additions and 1 deletions

View File

@ -1125,7 +1125,7 @@ def run_post_install_steps(*positionals, **kwargs):
## [root@<hostname> ~]# ## [root@<hostname> ~]#
defaults = { defaults = {
'login:' : 'root\n', 'login:' : 'root\n',
#'Password:' : args['password']+'\n', 'Password:' : args['password']+'\n',
'[root@{args["hostname"]} ~]#' : command+'\n', '[root@{args["hostname"]} ~]#' : command+'\n',
} }
if not 'events' in opts: opts['events'] = {} if not 'events' in opts: opts['events'] = {}