Re: using mock like debootstrap

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

 



* Christoph Höger <choeger@xxxxxxxxxxxxxxx> [20080729 20:55]:
> Hi,
> 
> for a deployment of virtual machines I need a complete root tree.
> To get it I use mock --init --root=fedora-9-i386 (or any other release)
> 
> That works a little like debootstrap.
> 
> But what do I need to get my machine _really_ working (I already
> installed yum, sshd and some tools)? 
> For example I am missing /etc/shadow and cannot use passwd to set up a
> root password.
> 
> So is there some kind of base packages list?

You can also do this:

# mkdir /mnt/test
# yum --disablerepo=* --enablerepo=fedora --disableplugins=* \
  --installroot=/mnt/test groupinstall Base

- this will fail -

# cp -a /var/cache/yum/fedora /mnt/test/var/cache/yum/
# yum --disablerepo=* --enablerepo=fedora --disableplugins=* \
  --installroot=/mnt/test groupinstall Base

and you have a small jail with a good start. Once you have the jail
with the package-set you like, tar it up for quick creation of new
jails later. :)

I think this is the closest thing to an equivalent of "debootstrap" in
Fedora.

HTH,

/Anders

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux