[molecules] update load_chroot_ssh script

This commit is contained in:
Fabio Erculiani 2012-01-27 15:12:45 +01:00
parent 48de172936
commit 353b246812

View File

@ -53,6 +53,8 @@ if __name__ == "__main__":
ch_f = open(chroot_map_file, "w")
ch_f.write("Sabayon Chroots available via SSH:\n")
for chroot in chroots:
if not os.path.isdir(os.path.join(chroot_dir, chroot)):
continue
print("starting chroot %s, ssh at localhost:%s" % (chroot, start_port,))
start_port += 1
args = default_args + ["-o", "ListenAddress=127.0.0.1:%s" % (start_port,)]