Wrapping is not systemd-nspawn's coup of tea
This commit is contained in:
parent
2037b6c0c1
commit
73fd441734
|
|
@ -537,7 +537,7 @@ if __name__ == '__main__':
|
||||||
if 'no-chroot' in opts and opts['no-chroot']:
|
if 'no-chroot' in opts and opts['no-chroot']:
|
||||||
o = run(command, opts)
|
o = run(command, opts)
|
||||||
else:
|
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:
|
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('[W] Post install command failed: {}'.format(o.decode('UTF-8')))
|
||||||
#print(o)
|
#print(o)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue