Wrapping is not systemd-nspawn's coup of tea

This commit is contained in:
Anton Hvornum 2019-04-10 11:01:18 +02:00
parent 2037b6c0c1
commit 73fd441734
1 changed files with 1 additions and 1 deletions

View File

@ -537,7 +537,7 @@ if __name__ == '__main__':
if 'no-chroot' in opts and opts['no-chroot']:
o = run(command, opts)
else:
o = run('systemd-nspawn -D /mnt --machine temporary "{c}"'.format(c=command), opts)
o = run('systemd-nspawn -D /mnt --machine temporary {c}'.format(c=command), opts)
if type(conf[title][raw_command]) == bytes and len(conf[title][raw_command]) and not conf[title][raw_command] in o:
print('[W] Post install command failed: {}'.format(o.decode('UTF-8')))
#print(o)