Added debug output when options were given to the net-deploy command

This commit is contained in:
Lord Anton Hvornum 2018-04-08 14:02:08 +02:00
parent 16ff533c81
commit ef455894e3
1 changed files with 2 additions and 0 deletions

View File

@ -296,6 +296,8 @@ if __name__ == '__main__':
print('[N] Network Deploy: {}'.format(title))
for command in conf[title]:
opts = conf[title][command] if type(conf[title][command]) in (dict, oDict) else {}
if len(opts):
print('[-] Options: {}'.format(opts))
#print('[N] Command: {} ({})'.format(command, opts))
o = run('arch-chroot /mnt {c}'.format(c=command), opts)