Fix two typos
This commit is contained in:
parent
cf9db8da33
commit
c0a6739f7e
2 changed files with 2 additions and 2 deletions
|
@ -55,7 +55,7 @@ if [ ! -r $PXEDIR/vmlinuz-${KVER} ]; then
|
||||||
fi
|
fi
|
||||||
cp -p $PXEDIR/vmlinuz-${KVER} $DEST_DIR/ubuntu
|
cp -p $PXEDIR/vmlinuz-${KVER} $DEST_DIR/ubuntu
|
||||||
if [ ! -r $PXEDIR/stack-initrd.gz ]; then
|
if [ ! -r $PXEDIR/stack-initrd.gz ]; then
|
||||||
cd $PXEDIR
|
cd $OPWD
|
||||||
sudo $PROGDIR/build_pxe_ramdisk.sh $PXEDIR/stack-initrd.gz
|
sudo $PROGDIR/build_pxe_ramdisk.sh $PXEDIR/stack-initrd.gz
|
||||||
fi
|
fi
|
||||||
cp -p $PXEDIR/stack-initrd.gz $DEST_DIR/ubuntu
|
cp -p $PXEDIR/stack-initrd.gz $DEST_DIR/ubuntu
|
||||||
|
|
|
@ -144,7 +144,7 @@ dd if=/dev/null of=$TMPDISK bs=1M seek=$SIZE count=1
|
||||||
if [ -n "$IMAGEONLY" ]; then
|
if [ -n "$IMAGEONLY" ]; then
|
||||||
# Build image from chroot
|
# Build image from chroot
|
||||||
sudo vmbuilder $HYPER ubuntu $ARGS \
|
sudo vmbuilder $HYPER ubuntu $ARGS \
|
||||||
--existing-chroot=$CHR \
|
--existing-chroot=$CHROOTDIR \
|
||||||
--overwrite \
|
--overwrite \
|
||||||
--rootsize=$ROOTSIZE \
|
--rootsize=$ROOTSIZE \
|
||||||
--swapsize=$SWAPSIZE \
|
--swapsize=$SWAPSIZE \
|
||||||
|
|
Loading…
Reference in a new issue