Fix up PXE boot filenames
This commit is contained in:
parent
a4b5877607
commit
958fa3defa
1 changed files with 3 additions and 3 deletions
|
@ -63,19 +63,19 @@ cat >>$DEFAULT <<EOF
|
||||||
LABEL devstack
|
LABEL devstack
|
||||||
MENU LABEL ^devstack
|
MENU LABEL ^devstack
|
||||||
MENU DEFAULT
|
MENU DEFAULT
|
||||||
KERNEL ubuntu/vmlinuz-$KVER-generic
|
KERNEL ubuntu/vmlinuz-$KVER
|
||||||
APPEND initrd=ubuntu/stack-initrd.gz ramdisk_size=2109600 root=/dev/ram0
|
APPEND initrd=ubuntu/stack-initrd.gz ramdisk_size=2109600 root=/dev/ram0
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Get Ubuntu
|
# Get Ubuntu
|
||||||
if [ -d $OPWD/pxe ]; then
|
if [ -d $OPWD/pxe ]; then
|
||||||
cp -p $OPWD/pxe/natty-min-initrd.gz $DEST_DIR/ubuntu
|
cp -p $OPWD/pxe/natty-base-initrd.gz $DEST_DIR/ubuntu
|
||||||
fi
|
fi
|
||||||
cat >>$DEFAULT <<EOF
|
cat >>$DEFAULT <<EOF
|
||||||
|
|
||||||
LABEL ubuntu
|
LABEL ubuntu
|
||||||
MENU LABEL ^Ubuntu Natty
|
MENU LABEL ^Ubuntu Natty
|
||||||
KERNEL ubuntu/vmlinuz-$KVER-generic
|
KERNEL ubuntu/vmlinuz-$KVER
|
||||||
APPEND initrd=ubuntu/natty-base-initrd.gz ramdisk_size=419600 root=/dev/ram0
|
APPEND initrd=ubuntu/natty-base-initrd.gz ramdisk_size=419600 root=/dev/ram0
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue