Remove old contrib/febootstrap directory.

This commit is contained in:
Richard Jones
2009-11-26 14:34:35 +00:00
parent f4845292fb
commit 7a2f4dbbcb
4 changed files with 1 additions and 61 deletions

View File

@@ -5,6 +5,7 @@ centos5.3-libguestfs.spec
http://cvs.fedoraproject.org/viewvc/rpms/libguestfs/EL-5/
febootstrap/
[REMOVED]
An experimental, non-working attempt to use febootstrap
to install operating systems.

View File

@@ -1,21 +0,0 @@
<p>
This script shows how to make a fresh virtual machine, installing an
operating system like Fedora or some Red Hat-derived operating system
such as <a href="http://www.redhat.com/rhel/">Red Hat Enterprise
Linux</a> or <a href="http://centos.org/">CentOS</a>.
</p>
<p>
It's fairly easy to modify this script to install Debian derivatives
too (even from a Fedora host),
using <a href="http://packages.debian.org/stable/admin/debootstrap">debootstrap</a>.
</p>
<p>
<i>After</i> running the script, you can boot the new virtual
machine by doing:
</p>
<pre>
qemu-kvm -m 512 -hda /tmp/vm.img
</pre>

View File

@@ -1,39 +0,0 @@
#!/bin/sh -
#vm=/tmp/vm.img
vm=/mnt/share/tmp/vm.img
modules="--group-install Core -i kernel -i grub"
# Choose one:
#febootstrap $modules fedora-10 local
febootstrap $modules fedora-11 local
#febootstrap $modules centos-5 local http://mirror.centos.org/centos-5/5.3/os/i386/
tar zcf local.tar.gz local
#rm -rf local
guestfish <<EOF
#alloc $vm 8GB
add $vm
run
sfdisk /dev/sda 0 0 0 ',100 ,'
echo Size of /dev/sda1:
blockdev-getsize64 /dev/sda1
echo Size of /dev/sda2:
blockdev-getsize64 /dev/sda2
lvm-remove-all
pvcreate /dev/sda2
vgcreate VG /dev/sda2
lvcreate Root VG 6000
lvcreate Swap VG 500
mkfs ext3 /dev/sda1
mkfs ext3 /dev/VG/Root
mount /dev/VG/Root /
mkdir /boot
mount /dev/sda1 /boot
tgz-in local.tar.gz /
grub-install / /dev/sda
EOF
#rm local.tar.gz

View File

@@ -1 +0,0 @@
Fresh install of Fedora or a Red Hat-derived operating system