Can you add this code to cobbler/action_replicate.py so we will be able to replicate SUSE and Windows distributions?
Add below line to 184:
elif distro["breed"] == 'suse':
dest = os.path.join(self.settings.webdir, "ks_mirror",
distro["name"])
if not os.path.isdir(dest):
os.makedirs(dest)
self.rsync_it("distro-%s"%distro["name"], dest)
elif distro["breed"] == 'windows':
dest = os.path.join(self.settings.webdir, "ks_mirror",
distro["name"])
if not os.path.isdir(dest):
os.makedirs(dest)
self.rsync_it("distro-%s"%distro["name"], dest)
________________________________
Eddie Velez
Senior UNIX Systems Administrator
2560 N. First Street
San Jose, CA 95131
408-904-4136 Office
408-307-1632 Cell
[cid:[email protected]]<http://www.emulex.com/>
[cid:[email protected]]<http://www.twitter.com/emulex>[cid:[email protected]]<http://www.friendfeed.com/emulex>[cid:[email protected]]<http://www.google.com/reader/shared/emulexinc>[cid:[email protected]]<http://www.facebook.com/pages/Emulex-Corporation/116933412473>[cid:[email protected]]<http://www.slideshare.net/emulex>[cid:[email protected]]<http://www.emulex.com/rss.xml>[cid:[email protected]]<http://www.youtube.com/EmulexVideo>[cid:[email protected]]<http://www.emulex.com/resources/blogs.html>
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Thursday, April 12, 2012 10:10 AM
To: [email protected]
Subject: [cobbler] cobbler replicate of suse breed
I am trying to do a "cobbler replicate -master=master -sync-all" to cobbler
slave servers from cobbler master. The only distributions that are replicated
are RedHat breed. I am running cobbler 2.2.2 on all servers.
________________________________
Eddie Velez
Senior UNIX Systems Administrator
2560 N. First Street
San Jose, CA 95131
408-904-4136 Office
408-307-1632 Cell
[cid:[email protected]]<http://www.emulex.com/>
[cid:[email protected]]<http://www.twitter.com/emulex>[cid:[email protected]]<http://www.friendfeed.com/emulex>[cid:[email protected]]<http://www.google.com/reader/shared/emulexinc>[cid:[email protected]]<http://www.facebook.com/pages/Emulex-Corporation/116933412473>[cid:[email protected]]<http://www.slideshare.net/emulex>[cid:[email protected]]<http://www.emulex.com/rss.xml>[cid:[email protected]]<http://www.youtube.com/EmulexVideo>[cid:[email protected]]<http://www.emulex.com/resources/blogs.html>
<<inline: image001.gif>>
<<inline: image002.gif>>
<<inline: image003.gif>>
<<inline: image004.gif>>
<<inline: image005.gif>>
<<inline: image006.gif>>
<<inline: image007.gif>>
<<inline: image008.gif>>
<<inline: image009.gif>>
_______________________________________________ cobbler mailing list [email protected] https://fedorahosted.org/mailman/listinfo/cobbler
