Don't create pods/container when registering systemd unit

Signed-off-by: Winston <44872771+winston-yallow@users.noreply.github.com>
This commit is contained in:
Winston 2024-05-01 19:51:08 +02:00
parent 27e27e9fe9
commit d31a8b124d
No known key found for this signature in database
GPG Key ID: 9080415BE9F1EBA4

View File

@ -2122,8 +2122,6 @@ async def compose_systemd(compose, args):
f.write(f"{k}={v}\n")
log.debug("writing [%s]: done.", fn)
log.info("\n\ncreating the pod without starting it: ...\n\n")
process = await asyncio.create_subprocess_exec(script, ["up", "--no-start"])
log.info("\nfinal exit code is %d", process)
username = getpass.getuser()
print(
f"""