From 71009934b61766c4f462e9af098b84fdf362281d Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:41:55 -0400 Subject: [PATCH] Allow chroot in target and install blx2 firmware --- install.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index ba79430..9de6785 100755 --- a/install.sh +++ b/install.sh @@ -9,7 +9,7 @@ logfile="/tmp/pvc-install.log" debrelease="buster" debmirror="http://debian.mirror.rafal.ca/debian" debpkglist="lvm2,parted,gdisk,grub-pc,grub-efi-amd64,linux-image-amd64,sudo,vim,gpg,gpg-agent,aptitude,openssh-server,vlan,ifenslave,python,python2,python3,ca-certificates,ntp" -suppkglist="firmware-linux,firmware-linux-nonfree" +suppkglist="firmware-linux,firmware-linux-nonfree,firmware-bnx2,firmware-bnx2x" # DANGER - THIS PASSWORD IS PUBLIC # It should be used ONLY immediately after booting the PVC node in a SECURE environment @@ -420,6 +420,14 @@ if [[ ${edit_ifaces} == 'y' || ${edit_ifaces} == 'Y' ]]; then fi echo +echo "Launch a chroot shell in the target environment? [y/N]" +read launch_chroot +if [[ ${launch_chroot} == 'y' || ${edit_ifaces} == 'Y' ]]; then + echo "Type 'exit' or Ctrl+D to exit chroot." + chroot ${target} /bin/bash +fi +echo + cleanup echo "-------------------------------------------------------------------------------------"