diff --git a/vm.py b/vm.py index c4e8e9239908ab049d604765e6c553336f67a6f1..e3c014a81a950040c0a16cd67b5c46f1a86674f0 100755 --- a/vm.py +++ b/vm.py @@ -317,7 +317,7 @@ def create_from_img(ucred: Ucred, target: str, new_ssh: bool = True, target_name mount_dir = target_dir+"mount/" os.mkdir(mount_dir) - r('mount', '-o', 'loop,offset=210763776', '--type', 'ext4', target_dir+'img', mount_dir) + r('mount', '-o', 'nosymfollow,loop,offset=210763776', '--type', 'ext4', target_dir+'img', mount_dir) try: with open(mount_dir+"/etc/hostname", "w") as f: f.write(target_name+"\n") if new_ssh: