5353# Static URLs
5454CURCENTOS_BASEURL = "http://ftp.linux.ncsu.edu/pub/CentOS/%s/os/%s/"
5555OLDCENTOS_BASEURL = "http://vault.centos.org/%s/os/%s"
56- MANDRIVA_BASEURL = "ftp ://ftp.uwsg.indiana.edu/linux/mandrake/official/%s/%s/"
56+ MANDRIVA_BASEURL = "http ://ftp.uwsg.indiana.edu/linux/mandrake/official/%s/%s/"
5757SCIENTIFIC_BASEURL = "http://ftp.scientificlinux.org/linux/scientific/%s/%s/"
5858
5959# Regex matching distro names that don't have xen kernels.
@@ -89,25 +89,18 @@ def distroClass(distname):
8989urls = {
9090
9191 # Fedora Distros
92- "fedora11" : {
93- 'i386' : FEDORA_BASEURL % ("11" , "i386" ),
94- 'x86_64' : FEDORA_BASEURL % ("11" , "x86_64" ),
95- 'distro' : ("linux" , "fedora11" )
96- },
97- "fedora12" : {
98- 'i386' : FEDORA_BASEURL % ("12" , "i386" ),
99- 'x86_64' : FEDORA_BASEURL % ("12" , "x86_64" ),
100- 'distro' : ("linux" , "fedora12" )
101- },
10292 "fedora13" : {
103- 'i386' : FEDORA_BASEURL % ("13" , "i386" ),
10493 'x86_64' : FEDORA_BASEURL % ("13" , "x86_64" ),
10594 'distro' : ("linux" , "fedora13" )
10695 },
96+ "fedora14" : {
97+ 'x86_64' : FEDORA_BASEURL % ("14" , "x86_64" ),
98+ 'distro' : ("linux" , "fedora14" )
99+ },
107100 "fedora-rawhide" : {
108- # 'i386' : FEDORA_RAWHIDE_BASEURL % ("i386"),
109- # 'x86_64': FEDORA_RAWHIDE_BASEURL % ("x86_64"),
110- # 'distro': ("linux", "fedora13 ")
101+ 'i386' : FEDORA_RAWHIDE_BASEURL % ("i386" ),
102+ 'x86_64' : FEDORA_RAWHIDE_BASEURL % ("x86_64" ),
103+ 'distro' : ("linux" , "fedora15 " )
111104 },
112105
113106 # SUSE Distros
@@ -116,24 +109,17 @@ def distroClass(distname):
116109 'x86_64' : "http://ftp.hosteurope.de/mirror/ftp.opensuse.org/discontinued/10.0/" ,
117110 },
118111 "opensuse10.2" : {
119- 'i386' : OLD_OPENSUSE_BASEURL % ("10.2" ),
120112 'x86_64' : OLD_OPENSUSE_BASEURL % ("10.2" )
121113 },
122114 "opensuse10.3" : {
123- 'i386' : OLD_OPENSUSE_BASEURL % ("10.3" ),
124115 'x86_64' : OLD_OPENSUSE_BASEURL % ("10.3" )
125116 },
126- "opensuse11" : {
127- 'i386' : OPENSUSE_BASEURL % ("11.0 " ),
128- 'x86_64' : OPENSUSE_BASEURL % ("11.0 " )
117+ "opensuse11.4 " : {
118+ 'i386' : OPENSUSE_BASEURL % ("11.4 " ),
119+ 'x86_64' : OPENSUSE_BASEURL % ("11.4 " )
129120 },
130121
131122 # Debian Distros
132- "debian-etch" : {
133- 'i386' : DEBIAN_BASEURL % ("etch" , "i386" ),
134- 'x86_64' : DEBIAN_BASEURL % ("etch" , "amd64" ),
135- 'distro' : ("linux" , None )
136- },
137123 "debian-lenny-32" : {
138124 'i386' : DEBIAN_BASEURL % ("lenny" , "i386" ),
139125 'distro' : ("linux" , None )
@@ -159,68 +145,54 @@ def distroClass(distname):
159145 'distro' : ("linux" , None )
160146 },
161147 "centos-5.0" : {
162- 'i386' : OLDCENTOS_BASEURL % ("5.0" , "i386" ),
163148 'x86_64' : OLDCENTOS_BASEURL % ("5.0" , "x86_64" ),
164149 'distro' : ("linux" , None )
165150 },
166151 "centos-4.0" : {
167- 'i386' : OLDCENTOS_BASEURL % ("4.0" , "i386" ),
168152 'x86_64' : OLDCENTOS_BASEURL % ("4.0" , "x86_64" ),
169153 'distro' : ("linux" , None )
170154 },
171155
172156 # Scientific Linux
173157 "scientific-5.4" : {
174- 'i386' : SCIENTIFIC_BASEURL % ("54" , "i386" ),
175158 'x86_64' : SCIENTIFIC_BASEURL % ("54" , "x86_64" ),
176159 'distro' : ("linux" , "rhel5.4" )
177160 },
178161 "scientific-5.2" : {
179- 'i386' : SCIENTIFIC_BASEURL % ("52" , "i386" ),
180162 'x86_64' : SCIENTIFIC_BASEURL % ("52" , "x86_64" ),
181163 'distro' : ("linux" , "rhel5" )
182164 },
183165 "scientific-5.0" : {
184- 'i386' : SCIENTIFIC_BASEURL % ("50" , "i386" ),
185166 'x86_64' : SCIENTIFIC_BASEURL % ("50" , "x86_64" ),
186167 'distro' : ("linux" , None )
187168 },
188169 "scientific-4.7" : {
189- 'i386' : SCIENTIFIC_BASEURL % ("47" , "i386" ),
190170 'x86_64' : SCIENTIFIC_BASEURL % ("47" , "x86_64" ),
191171 'distro' : ("linux" , None )
192172 },
193173 "scientific-4.0" : {
194- 'i386' : SCIENTIFIC_BASEURL % ("40" , "i386" ),
195174 'x86_64' : SCIENTIFIC_BASEURL % ("40" , "x86_64" ),
196175 'distro' : ("linux" , None )
197176 },
198177
199178 # Ubuntu
200- "ubuntu-gutsy" : {
201- 'i386' : UBUNTU_BASEURL % ("gutsy" , "i386" ),
202- 'x86_64' : UBUNTU_BASEURL % ("gutsy" , "amd64" ),
203- 'distro' : ("linux" , None )
204- },
205179 "ubuntu-hardy" : {
206180 'i386' : UBUNTU_BASEURL % ("hardy" , "i386" ),
207181 'x86_64' : UBUNTU_BASEURL % ("hardy" , "amd64" ),
208182 'distro' : ("linux" , None )
209183 },
210- "ubuntu-intrepid " : {
211- 'i386' : UBUNTU_BASEURL % ("intrepid " , "i386" ),
212- 'x86_64' : UBUNTU_BASEURL % ("intrepid " , "amd64" ),
184+ "ubuntu-natty " : {
185+ 'i386' : UBUNTU_BASEURL % ("natty " , "i386" ),
186+ 'x86_64' : UBUNTU_BASEURL % ("natty " , "amd64" ),
213187 'distro' : ("linux" , None )
214188 },
215189
216190 # Mandriva
217191 "mandriva-2007.1" : {
218- 'i386' : MANDRIVA_BASEURL % ("2007.1" , "i586" ),
219192 'x86_64' : MANDRIVA_BASEURL % ("2007.1" , "x86_64" ),
220193 'distro' : ("linux" , None )
221194 },
222195 "mandriva-2008.1" : {
223- 'i386' : MANDRIVA_BASEURL % ("2008.1" , "i586" ),
224196 'x86_64' : MANDRIVA_BASEURL % ("2008.1" , "x86_64" ),
225197 'distro' : ("linux" , None )
226198 },
0 commit comments