Ask Your Question
1

install fedora VM with updates

asked 2014-07-09 04:51:49 -0500

Aleksandar Kostadinov gravatar image

updated 2014-09-28 11:04:05 -0500

mether gravatar image

How do I install fedora latest with updates in a VM? I'm using virt-manager. When I use this url:

http://dl.fedoraproject.org/pub/fedora/linux/releases/20/Fedora/x86_64/os/

installation works fine but the OS is installed with the GA bits. Isn't there a way to directly install with latest updates. Now I have to run yum update after install and this is a lot of additional bandwidth and time.

Thank you!

edit retag flag offensive close merge delete

Comments

1

virt-manager doesn't imply any particular installation method, it's a tool for managing virtual machines, not the software that runs on them. You could use the netinstall ISO as an installation source to address this problem. What is your installation source now?

randomuser gravatar imagerandomuser ( 2014-07-09 14:21:44 -0500 )edit

@randomuser, I've listed my installation source in the quesion. It is an url. I don't see why should I have to download an image.

Aleksandar Kostadinov gravatar imageAleksandar Kostadinov ( 2014-07-09 15:06:32 -0500 )edit
2

You don't have to download an image, I just wanted you to clarify. You could have been doing the direct mirror image, or you could have been doing something different and just using that mirror.

Anyway, I don't want to answer without testing, but you should be able to use a kickstart snippet with a repo line in it, http://fedoraproject.org/wiki/Anaconda/Kickstart#repo

randomuser gravatar imagerandomuser ( 2014-07-09 17:01:49 -0500 )edit

@randomuser, good idea. But do we have available suitable kickstarts? I'm not really into core fedora. I'm a user that appreciates fedora awesomeness so need clear docs at least for (I imagine) commonly executed tasks.

Aleksandar Kostadinov gravatar imageAleksandar Kostadinov ( 2014-07-10 00:49:45 -0500 )edit

The docs I linked, and the installation guide are pretty clear. snippet means a portion of a whole config file; you should be able to make a kickstart snippet with one line, the "repo=http://dl.fp.o/updates-repo/" config you're looking for.

randomuser gravatar imagerandomuser ( 2014-07-10 09:45:23 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-07-09 14:07:23 -0500

The best way to proceed is probably to install Fedora 20 GA on a VM, fully update it, and then use virt-clone to copy the VM to other instances as necessary. If you need to create many VMs, this should help you out, but if you're looking for some provider of Fedora 20 installation media with current updates rolled into it, I am unaware of such a service.

edit flag offensive delete link more

Comments

+1 for the idea. Still I think it's worth it to have the os tree accessible somewhere so network installs of VMs is possible with all updates already there.

Aleksandar Kostadinov gravatar imageAleksandar Kostadinov ( 2014-07-09 15:07:45 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-07-09 04:51:49 -0500

Seen: 130 times

Last updated: Jul 09 '14