From f4f85b92b580b90a3635ad3957e8a3490f1813bb Mon Sep 17 00:00:00 2001 From: Neill Cox Date: Tue, 26 Sep 2023 16:23:58 +1000 Subject: [PATCH] Fix hostname 3 --- src/tripleo_aio_helpers/create_aio_vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tripleo_aio_helpers/create_aio_vm.py b/src/tripleo_aio_helpers/create_aio_vm.py index d3c88a1..6c44a8b 100644 --- a/src/tripleo_aio_helpers/create_aio_vm.py +++ b/src/tripleo_aio_helpers/create_aio_vm.py @@ -14,7 +14,7 @@ ND_PATH = "./network-config" def parse_args(): """Parse the command line arguments""" - template_path = pathlib.Path(__file__).parent / "virt-install" + template_path = pathlib.Path(__file__).parent.parent / "virt-install" import pdb;pdb.set_trace() parser = argparse.ArgumentParser() parser.add_argument("--password", required=True)