Coding style.

- Linting.
This commit is contained in:
Andrew Hamilton 2019-12-04 18:39:22 +10:00
parent b2e6ab2c3e
commit 4a2f99d795
16 changed files with 55 additions and 64 deletions

View file

@ -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():