From 7313d17088aef2afea3448e81ef6a68b9d45dcab Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Mon, 20 Nov 2017 20:33:32 +0100 Subject: space_server: update to Fedora 27 --- roles/space_server/bootstrap.sh | 10 ++++++++-- .../radius/freeradius-assha-3.0.15-3.fc27.x86_64.rpm | Bin 0 -> 1140764 bytes 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 roles/space_server/files/radius/freeradius-assha-3.0.15-3.fc27.x86_64.rpm (limited to 'roles/space_server') diff --git a/roles/space_server/bootstrap.sh b/roles/space_server/bootstrap.sh index 8fbc399..f80a454 100755 --- a/roles/space_server/bootstrap.sh +++ b/roles/space_server/bootstrap.sh @@ -39,7 +39,8 @@ set -e set -x -release=26 +release=27 +secrets='/etc/ansible/secrets.yml' dest="/mnt/fedora$release" if [[ -e "$dest" ]]; then echo "Destination '$dest' already exists. Aborting." >&2 @@ -51,11 +52,16 @@ btrfs subvolume create "$dest" dnf \ --assumeyes \ --installroot="$dest" \ + --setopt=install_weak_deps=False \ --releasever=$release \ --disablerepo='*' \ --enablerepo=fedora \ --enablerepo=updates \ - install dnf python2-dnf python-netaddr ansible + install dnf git python2-dnf python-netaddr ansible + +if [[ -f "$secrets" ]]; then + install -m660 "$secrets" "$dest$secrets" +fi systemd-nspawn -D "$dest" -M space -E ANSIBLE_FORCE_COLOR=1 \ --bind /boot --bind /home -- \ diff --git a/roles/space_server/files/radius/freeradius-assha-3.0.15-3.fc27.x86_64.rpm b/roles/space_server/files/radius/freeradius-assha-3.0.15-3.fc27.x86_64.rpm new file mode 100644 index 0000000..d69ef22 Binary files /dev/null and b/roles/space_server/files/radius/freeradius-assha-3.0.15-3.fc27.x86_64.rpm differ -- cgit v1.2.1