replace from with to

This commit is contained in:
Tobias Powalowski 2022-05-09 21:16:45 +02:00
parent 4b2332e676
commit 4dce6d4244

View file

@ -44,7 +44,7 @@ _create_iso() {
# generate latest iso in container # generate latest iso in container
systemd-nspawn -q -D "${_W_DIR}" /bin/bash -c "umount /tmp;rm -rf /tmp/*;archboot-${_ARCH}-iso.sh -g -p=${_PRESET_LATEST} \ systemd-nspawn -q -D "${_W_DIR}" /bin/bash -c "umount /tmp;rm -rf /tmp/*;archboot-${_ARCH}-iso.sh -g -p=${_PRESET_LATEST} \
-i=archlinux-archboot-$(date +%Y.%m.%d-%H.%M)-latest-${_ARCH}" || exit 1 -i=archlinux-archboot-$(date +%Y.%m.%d-%H.%M)-latest-${_ARCH}" || exit 1
echo "Install lvm2 and openssh from container ${_W_DIR} ..." echo "Install lvm2 and openssh to container ${_W_DIR} ..."
systemd-nspawn -D "${_W_DIR}" /bin/bash -c "pacman -Sy lvm2 openssh --noconfirm" >/dev/null 2>&1 systemd-nspawn -D "${_W_DIR}" /bin/bash -c "pacman -Sy lvm2 openssh --noconfirm" >/dev/null 2>&1
echo "Generate normal ISO ..." echo "Generate normal ISO ..."
# generate iso in container # generate iso in container