[molecules] update load_chroot_ssh script
This commit is contained in:
parent
48de172936
commit
353b246812
@ -53,6 +53,8 @@ if __name__ == "__main__":
|
|||||||
ch_f = open(chroot_map_file, "w")
|
ch_f = open(chroot_map_file, "w")
|
||||||
ch_f.write("Sabayon Chroots available via SSH:\n")
|
ch_f.write("Sabayon Chroots available via SSH:\n")
|
||||||
for chroot in chroots:
|
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,))
|
print("starting chroot %s, ssh at localhost:%s" % (chroot, start_port,))
|
||||||
start_port += 1
|
start_port += 1
|
||||||
args = default_args + ["-o", "ListenAddress=127.0.0.1:%s" % (start_port,)]
|
args = default_args + ["-o", "ListenAddress=127.0.0.1:%s" % (start_port,)]
|
||||||
|
Loading…
Reference in New Issue
Block a user