utils.sysexec("mount -t sysfs none %s/sys" % SYSIMG_PATH)
initrd, kernel_version= systeminfo.getKernelVersion(vars,log)
- utils.removefile( "%s/boot/%s" % (SYSIMG_PATH, initrd) )
+ try:
+ utils.removefile( "%s/boot/%s" % (SYSIMG_PATH, initrd) )
+ except:
+ print "%s/boot/%s is already removed" % (SYSIMG_PATH, initrd)
+
# hack for CentOS 5.3
bypassRaidIfNeeded(SYSIMG_PATH)
if kernelHasMkinitrd() == True: