debian: fix "stdin: is not a tty" message
This commit is contained in:
parent
fc6d13f9b5
commit
fc19af6e5f
@ -89,6 +89,7 @@ chroot $INSTALLDIR useradd -g user -G dialout,cdrom,floppy,sudo,audio,dip,video,
|
|||||||
|
|
||||||
echo "xen_netfront" >> $INSTALLDIR/etc/modules
|
echo "xen_netfront" >> $INSTALLDIR/etc/modules
|
||||||
|
|
||||||
|
sed -i -e '/^mesg n/d' $INSTALLDIR/root/.profile
|
||||||
|
|
||||||
# Kill any processes that might have been started by apt before unmounting
|
# Kill any processes that might have been started by apt before unmounting
|
||||||
lsof $INSTALLDIR | tail -n +2 | awk '{print $2}' | xargs --no-run-if-empty kill
|
lsof $INSTALLDIR | tail -n +2 | awk '{print $2}' | xargs --no-run-if-empty kill
|
||||||
|
Loading…
Reference in New Issue
Block a user