Coding style.
- Linting.
This commit is contained in:
parent
b2e6ab2c3e
commit
4a2f99d795
16 changed files with 55 additions and 64 deletions
|
|
@ -32,8 +32,8 @@ def umount_squashfs_iso(mount_point):
|
|||
|
||||
def run_in_container(container, command):
|
||||
option = "--directory" if os.path.isdir(container) else "--image"
|
||||
cmd(f"sudo systemd-nspawn --quiet --chdir=/eris --overlay={ERIS_PATH}:/eris "
|
||||
f'{option}={container} /bin/bash --login -c "{command}"')
|
||||
cmd(f"sudo systemd-nspawn --quiet --chdir=/eris --overlay={ERIS_PATH}:"
|
||||
f'/eris {option}={container} /bin/bash --login -c "{command}"')
|
||||
|
||||
|
||||
def build_ubuntu():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue