Thanks a lot, Domnic.
It WORKED !!!
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[root@foreman-aws tmp]# hammer -v bootdisk host --full FULL --host
vboxubuntu.vbox.local
Successfully downloaded host disk image to
vboxubuntu.vbox.local_20160729_1200.iso
/mnt/boot:
ubuntu16_04_16_0_initrd_gz ubuntu16_04_16_0_linux
[root@foreman-aws tmp]# grep -i --color ubuntu16_04_16_0_initrd_gz
/mnt/isolinux.cfg
append initrd=BOOT/UBUNTU16_04_16_0_INITRD_GZ interface=auto
url=http://foreman-aws.chargepoint.com/unattended/provision?token=a0b1896f-1176-4d30-8b74-7bb1391a4e42
ramdisk_size=10800 root=/dev/rd/0 rw auto hostname=vboxubuntu.vbox.local
console-setup/ask_detect=false console-setup/layout=USA
console-setup/variant=USA keyboard-configuration/layoutcode=us
localechooser/translation/warn-light=true
localechooser/translation/warn-severe=true locale=en_US
[root@foreman-aws tmp]#
On Friday, July 29, 2016 at 2:14:07 PM UTC+5:30, Dominic Cleal wrote:
>
> On 29/07/16 09:40, Rajnesh Kumar Siwal wrote:
> >
> > Following lines were replaced and apache was restarted but the issue is
> > still NOT FIXED:
> >
> --------------------------------------------------------------------------------------------------
>
>
> > #file = File.basename(name).upcase.tr_s('^A-Z0-9_', '_')[0..30]
> > #dir == '.' ? file : File.join(dir.upcase.tr_s('^A-Z0-9_',
> > '_')[0..30], file)
> > # Fixing long file and directory names
> > file = File.basename(name).upcase.tr_s('^A-Z0-9_', '_')[0..20]
> > dir == '.' ? file : File.join(dir.upcase.tr_s('^A-Z0-9_',
> > '_')[0..20], file)
> >
> -----------------------------------------------------------------------------------------------------
>
>
> >
> > [root@foreman-aws tmp]# hammer -v bootdisk host --full FULL --host
> > vboxubuntu.vbox.local
> > Successfully downloaded host disk image to
> > vboxubuntu.vbox.local_20160729_1200.iso
> > [root@foreman-aws tmp]# mount -oloop
> > vboxubuntu.vbox.local_20160729_1200.iso /mnt/
> > [root@foreman-aws tmp]# cat /mnt/isolinux.cfg
> >
> >
> > default linux
> > label linux
> > kernel BOOT/UBUNTU16_04_16_04_X86_LINUX
> > append initrd=BOOT/UBUNTU16_04_16_04_X86_INITRD_GZ interface=auto
> > url=
> http://foreman-aws.example.com/unattended/provision?token=a0b1896f-1176-4d30-8b74-7bb1391a4e42
>
> > ramdisk_size=10800 root=/dev/rd/0 rw auto hostname=vboxubuntu.vbox.local
> > console-setup/ask_detect=false console-setup/layout=USA
> > console-setup/variant=USA keyboard-configuration/layoutcode=us
> > localechooser/translation/warn-light=true
> > localechooser/translation/warn-severe=true locale=en_US
> > #Disabling IPAPPEND as not suppoerted by Ubuntu 16.04
> > # IPAPPEND 2
> > [root@foreman-aws tmp]# ls -R /mnt/boot
> > /mnt/boot:
> > ubuntu16_04_16_04_x86_initrd_g ubuntu16_04_16_04_x86_linux
>
> This only appears to be one character out, having the last "z"
> truncated. Just shorten the filename again, e.g. 15 rather than 20.
>
> --
> Dominic Cleal
> [email protected] <javascript:>
>
--
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.