[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[fedora-virt] how to build iso from virt-p2v



Hello,
The p2v.ks contains the follows:
lang en_US.UTF-8
keyboard us
timezone US/Eastern
auth --useshadow --enablemd5
selinux --enforcing
firewall --disabled
# This should enable the serial console.  However it requires
# livecd-tools 018 or above (is ignored on earlier versions).
bootloader --append="console=tty0 console=ttyS0,9600n8"
# Basic Fedora repository and updates.
repo --name=released --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i386/os/
repo --name=updates --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/9/i386/
#repo --name=released --mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-9&arch=i386
# A local repository if selected by ./configure --enable-localrepo=...
# The p2vrepo subdirectory, containing virt-p2v RPM.
repo --name=p2v --baseurl=file:///home/w00135343/virt-p2v--devel/p2vrepo
%packages --excludedocs
bash
kernel
syslinux
passwd
policycoreutils
chkconfig
authconfig
rootfiles
# For unicode console support.
kbd
# dd, sleep, sync, etc.
coreutils
# For device mapping
device-mapper
util-linux-ng
module-init-tools
gzip
kpartx
# For remote communications
openssh-clients
nc
# For the shell script
grep
sed
 
And i guess it is the repo command to cause this error, for the two line as follows
repo --name=released --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i386/os/
repo --name=updates --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/9/i386/
the reason is that in my company i have to use proxy for network access , but i don't know which tools repo command  comes from , and how to set its proxy. Could you give me some suggestion? thank you.
 
2009-05-27  

Sender: Richard W.M. Jones
Send time: 2009-05-26  23:22:17
Receiver: Arthur Wang
Copyto: Fedora-virt
Topic: Re: [fedora-virt] how to build iso from virt-p2v
On Mon, May 25, 2009 at 09:21:37AM +0800, Arthur Wang wrote:
> Hello,
> I have a trouble when build virt-p2v-0.9.9.tar.gz to generate an iso file. Search for help
> I have install all the packet that virt-p2v depend on, and i run the follow commands successfully
>  configure
>  make rpm
> But when i enter "make build" command,  wait minutes, i got the follow error:
> Setting maximal mount count to -1
> Setting interval between checks to 0 seconds
> Error creating Live CD : Unable to download from repo : Cannot retrieve repository metadata (repomd.xml) for repository: released. Please verify its path and try again
> make: *** [build] error 1
> Could anyone tell me where it want to get repository metadata , and which tools or command it use to get?
Just to check that you do have network access where you are
trying to build, right?
The other things to change are the CD base version, eg:
./configure --enable-cd-base=10
which will base everything on Fedora 10.
Have a look also at the generated kickstart file, p2v.ks, to see what
it contains.
Rich.
-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]