Re: Fedora @ Google Cloud

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

 



On Fri, Jun 13, 2014 at 10:47:09PM -0500, Renich Bon Ciric wrote:
> Hey guys,
> 
> I'm, currently, working on a Fedora image for Google Cloud; just for
> fun.
> 
> I'm using virt-builder.

Yes, this is quite a useful tool. FWIW, that's what I use in most of my
Fedora virtual test environments.

Additionally, there are a couple of different ways to create Fresh Fedora
installs using like `Oz` or `virt-install` to install fresh Fedora.

e.g. I use a trivial script like this[1] to create fresh Fedora installs
sometimes. You can modify Kickstart or other attributes trivially. To
create a Fedora 20 VM called f20vm1, with 10G disk and 2G memory:

    $ ./create-guest-qcow2.bash f20vm1 f20 x86_64


If you want to use something like `Oz`, you can try it this way:

1. Create a TDL file:

-----
$ cat << EOF > f20vm.tdl
<template>
<name>f20vm</name>
<os>
<name>Fedora</name>
<version>20</version>
<arch>x86_64</arch>
<install type='url'>
<url>http://dl.fedoraproject.org/pub/fedora/linux/releases/20/Fedora/x86_64/os/</url>
</install>
<rootpw>fedora</rootpw>
</os>
<description>Fedora 20</description>
</template>
EOF
-----

2. Invoke `Oz` (with debug output):

    $ oz-install -d 4 f20vm.tdl

3. Define the libvirt XML file (spit out from step-2), and start the guest:

    $ virsh define XMLfile
    $ virsh start f20vm --console


  [1] https://github.com/kashyapc/virt-scripts/blob/master/create-guest-qcow2.bash


Hope that helps.

> I'd like to know what tools and files are you using to build your
> images. I'd like to contribute it if I manage to get something useful.
> 
> They have some requirements here:
> https://developers.google.com/compute/docs/images#buildingimage
> 
> So, If I'm to use a script for virt-builder or a kickstart, I wanna
> help out if possible.
> 
> Thank you for any feedback and you're welcome to join the fun if you
> like ;)
> 

-- 
/kashyap
_______________________________________________
cloud mailing list
cloud@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/cloud
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Big List of Linux Books]     [Yosemite News]     [Linux Apps]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]

  Powered by Linux