Merge pull request #923 from winston-yallow/remove-sideeffect-from-systemd-registration

Don't create pods/container when registering systemd unit
This commit is contained in:
Povilas Kanapickas
2024-05-01 21:05:13 +03:00
committed by GitHub

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"""