projects
/
mirror
/
dsa-wiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8cc3622
)
add -y to apt-get install
author
Peter Palfrader
<peter@palfrader.org>
Sun, 30 Oct 2011 18:56:39 +0000
(19:56 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Sun, 30 Oct 2011 18:56:39 +0000
(19:56 +0100)
input/howto/install-kvm.creole
patch
|
blob
|
history
diff --git
a/input/howto/install-kvm.creole
b/input/howto/install-kvm.creole
index
9e2fcfe
..
ae3188a
100644
(file)
--- a/
input/howto/install-kvm.creole
+++ b/
input/howto/install-kvm.creole
@@
-120,9
+120,9
@@
EOF
apt-key exportall | chroot . apt-key add - &&
chroot . apt-get update &&
echo "Apt::Install-Recommends 0;" > etc/apt/apt.conf.d/local-recommends &&
apt-key exportall | chroot . apt-key add - &&
chroot . apt-get update &&
echo "Apt::Install-Recommends 0;" > etc/apt/apt.conf.d/local-recommends &&
- chroot . apt-get install net-tools iproute ifupdown dialog vim netbase xfsprogs &&
+ chroot . apt-get install
-y
net-tools iproute ifupdown dialog vim netbase xfsprogs &&
cp -av `readlink -f $dev_root` dev/`basename $dev_root` &&
cp -av `readlink -f $dev_root` dev/`basename $dev_root` &&
- DEBIAN_FRONTEND=noninteractive chroot . apt-get install grub2 &&
+ DEBIAN_FRONTEND=noninteractive chroot . apt-get install
-y
grub2 &&
cat > etc/kernel-img.conf << EOF &&
do_symlinks = no
do_initrd = yes
cat > etc/kernel-img.conf << EOF &&
do_symlinks = no
do_initrd = yes
@@
-132,7
+132,7
@@
EOF
cp -av `readlink -f $dev_boot""1` dev/`basename $dev_boot`1 &&
chroot . grub-install --modules=part_msdos /dev/`basename $dev_boot` &&
# install a kernel image
cp -av `readlink -f $dev_boot""1` dev/`basename $dev_boot`1 &&
chroot . grub-install --modules=part_msdos /dev/`basename $dev_boot` &&
# install a kernel image
- chroot . apt-get install linux-image-2.6-amd64 &&
+ chroot . apt-get install
-y
linux-image-2.6-amd64 &&
sed -i -e 's/^#GRUB_TERMINAL=console/GRUB_TERMINAL=console/' etc/default/grub &&
echo "(hd0) /dev/`basename $dev_boot`" > boot/grub/device.map &&
chroot . update-grub &&
sed -i -e 's/^#GRUB_TERMINAL=console/GRUB_TERMINAL=console/' etc/default/grub &&
echo "(hd0) /dev/`basename $dev_boot`" > boot/grub/device.map &&
chroot . update-grub &&
@@
-143,7
+143,7
@@
EOF
echo "(hd0) /dev/`basename $dev_root`" > boot/grub/device.map &&
chroot . grub-install /dev/"`basename $dev_root`" &&
# install a kernel image
echo "(hd0) /dev/`basename $dev_root`" > boot/grub/device.map &&
chroot . grub-install /dev/"`basename $dev_root`" &&
# install a kernel image
- chroot . apt-get install linux-image-2.6-amd64 &&
+ chroot . apt-get install
-y
linux-image-2.6-amd64 &&
sed -i -e 's/^#GRUB_TERMINAL=console/GRUB_TERMINAL=console/' etc/default/grub &&
chroot . update-grub
fi &&
sed -i -e 's/^#GRUB_TERMINAL=console/GRUB_TERMINAL=console/' etc/default/grub &&
chroot . update-grub
fi &&