Skip to content

Commit

Permalink
Release v1.0.8 (#26)
Browse files Browse the repository at this point in the history
* Set DEBIAN_FRONTEND in the LXC instance. (#21)
* Tell APT to preserve modified `conffiles` (#17)
  • Loading branch information
ximon18 authored Oct 12, 2022
1 parent 46deb5d commit 3e5605d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/pkg-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@ jobs:
run: |
# security.nesting=true is needed to avoid error "Failed to set up mount namespacing: Permission denied" in a
# Debian 10 container.
sg lxd -c "lxc launch ${LXC_IMAGE} -c security.nesting=true testcon"
sg lxd -c "lxc launch ${LXC_IMAGE} -c security.nesting=true -c environment.DEBIAN_FRONTEND=noninteractive testcon"
# Run package update and install man and sudo support (missing in some LXC/LXD O/S images) but first wait for
# cloud-init to finish otherwise the network isn't yet ready. Don't use cloud-init status --wait as that isn't
Expand Down Expand Up @@ -1207,7 +1207,8 @@ jobs:
run: |
case ${OS_NAME} in
debian|ubuntu)
sg lxd -c "lxc exec testcon -- apt-get -y install /tmp/${PKG_FILE}"
# See https://github.com/NLnetLabs/.github/issues/17 regarding --force-confXXX
sg lxd -c "lxc exec testcon -- apt-get -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install /tmp/${PKG_FILE}"
;;
centos)
sg lxd -c "lxc exec testcon -- yum install -y /tmp/${PKG_FILE}"
Expand Down

0 comments on commit 3e5605d

Please sign in to comment.