X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=prep.sh;h=da63c48e45a5ed5c907bb74dea35940d0ce05c53;hb=992d35fdfe5f15d4fe45fa122427ee146ab42377;hp=68bebcfacdfa9843ff25786c2acf69a49f861e40;hpb=44168eb5e74cff6bdc3580f233858e4b25f0b49a;p=bootcd.git diff --git a/prep.sh b/prep.sh index 68bebcf..da63c48 100755 --- a/prep.sh +++ b/prep.sh @@ -50,6 +50,9 @@ pkgsfile=$(pl_locateDistroFile ../build/ $pldistro bootcd.pkgs) pl_root_mkfedora $bootcd $pldistro $pkgsfile pl_root_tune_image $bootcd +# Add site_admin console account to BootCD: with root priv, and empty passwd +chroot ${bootcd} /usr/sbin/useradd -p "" -o -g 0 -u 0 -m site_admin + # Install ipnmac (for SuperMicro machines with IPMI) echo "* Installing IPMI utilities" install -D -m 755 ipnmac/ipnmac.x86 $bootcd/usr/sbin/ipnmac