File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2+
23set -Eeuo pipefail
34
45# Undo the gardener feature disablement
@@ -19,6 +20,8 @@ for p in https://github.com/gardenlinux/package-edk2-cloud-hypervisor-gl/release
1920done
2021
2122pushd /tmp/custompackages > /dev/null
23+ rm -f -- * dbgsym* * arm64* || true
24+ ls -1
2225dpkg -i cloud-hypervisor-gl* _amd64.deb edk2-cloud-hypervisor-gl* _amd64.deb libvirt-clients_* _amd64.deb libvirt-common_* _amd64.deb libvirt-daemon_* _amd64.deb libvirt-daemon-common_* _amd64.deb libvirt-daemon-config-network_* _all.deb libvirt-daemon-config-nwfilter_* _all.deb libvirt-daemon-driver-ch-gl_* _amd64.deb libvirt-daemon-driver-network_* _amd64.deb libvirt-daemon-driver-nodedev_* _amd64.deb libvirt-daemon-driver-nwfilter_* _amd64.deb libvirt-daemon-driver-qemu_* _amd64.deb libvirt-daemon-driver-secret_* _amd64.deb libvirt-daemon-driver-storage_* _amd64.deb libvirt-daemon-log_* _amd64.deb libvirt-daemon-system_* _amd64.deb libvirt0_* _amd64.deb
2326popd > /dev/null
2427rm -rf /tmp/custompackages
@@ -34,11 +37,11 @@ function create() {
3437 shift
3538 ID=$1
3639 shift
37- adduser --uid $ID --home /var/lib/$NAME $NAME \
40+ adduser --uid " $ID " --home " /var/lib/$NAME " " $NAME " \
3841 --system --group --disabled-password --disabled-login
3942 echo " $@ "
4043 for group in " $@ " ; do
41- adduser $NAME $group
44+ adduser " $NAME " " $group "
4245 done
4346}
4447
You can’t perform that action at this time.
0 commit comments