In invirt-autoinstaller:
[invirt/packages/invirt-autoinstaller.git] / common / usr / lib / xen-tools / debian.d / 93-setup-grub
index 26fbdda..c6b6cb2 100755 (executable)
@@ -63,8 +63,8 @@ done
 #
 if [ "$(chroot ${prefix} lsb_release -is)" = "Ubuntu" ] && \
     dpkg --compare-versions "$(chroot ${prefix} lsb_release -rs)" ge 8.10; then
-    sed -i -e 's/xvc0/hvc0/' /etc/event.d/tty1
-    sed -i -e 's/console=ttyS0[^ ]*/console=hvc0/' /boot/grub/menu.lst
+    sed -i -e 's/xvc0/hvc0/' ${prefix}/etc/event.d/tty1
+    sed -i -e 's/console=ttyS0[^ ]*/console=hvc0/' ${prefix}/boot/grub/menu.lst
 fi
 
 #