forked from cobbler/cobbler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cobbler.spec
1822 lines (1756 loc) · 96.8 KB
/
cobbler.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]" || echo 0)}
%define _binaries_in_noarch_packages_terminate_build 0
%global debug_package %{nil}
Summary: Boot server configurator
Name: cobbler
License: GPLv2+
AutoReq: no
Version: 2.4.0
Release: beta6%{?dist}
Source0: http://shenson.fedorapeople.org/cobbler/cobbler-%{version}.tar.gz
Group: Applications/System
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildArch: noarch
Url: http://www.cobblerd.org/
BuildRequires: redhat-rpm-config
BuildRequires: git
BuildRequires: PyYAML
BuildRequires: python-cheetah
Requires: python >= 2.3
Requires: httpd
Requires: tftp-server
Requires: mod_wsgi
Requires: createrepo
Requires: python-cheetah
Requires: python-netaddr
Requires: python-simplejson
Requires: python-urlgrabber
Requires: PyYAML
Requires: rsync
Requires: syslinux
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
Requires: python(abi) >= %{pyver}
Requires: genisoimage
%else
Requires: mkisofs
%endif
%if 0%{?fedora} >= 8
BuildRequires: python-setuptools-devel
%else
BuildRequires: python-setuptools
%endif
%if 0%{?fedora} >= 6 || 0%{?rhel} >= 5
Requires: yum-utils
%endif
%if 0%{?fedora} >= 16
BuildRequires: systemd-units
Requires(post): systemd-sysv
Requires(post): systemd-units
Requires(preun): systemd-units
Requires(postun): systemd-units
%else
Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig
Requires(preun): /sbin/service
%endif
%description
Cobbler is a network install server. Cobbler supports PXE,
virtualized installs, and re-installing existing Linux machines. The
last two modes use a helper tool, 'koan', that integrates with
cobbler. There is also a web interface 'cobbler-web'. Cobbler's
advanced features include importing distributions from DVDs and rsync
mirrors, kickstart templating, integrated yum mirroring, and built-in
DHCP/DNS Management. Cobbler has a XMLRPC API for integration with
other applications.
%prep
%setup -q
%build
%{__python} setup.py build
%install
test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install --optimize=1 --root=$RPM_BUILD_ROOT $PREFIX
mkdir -p $RPM_BUILD_ROOT/etc/httpd/conf.d
mv config/cobbler.conf $RPM_BUILD_ROOT/etc/httpd/conf.d/
mv config/cobbler_web.conf $RPM_BUILD_ROOT/etc/httpd/conf.d/
mkdir -p $RPM_BUILD_ROOT/var/spool/koan
%if 0%{?fedora} >= 9 || 0%{?rhel} > 5
mkdir -p $RPM_BUILD_ROOT/var/lib/tftpboot/images
%else
mkdir -p $RPM_BUILD_ROOT/tftpboot/images
%endif
rm -f $RPM_BUILD_ROOT/etc/cobbler/cobblerd
%if 0%{?fedora} >= 16
rm -rf $RPM_BUILD_ROOT/etc/init.d
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
install -m0644 config/cobblerd.service $RPM_BUILD_ROOT%{_unitdir}
%post
if [ $1 -eq 1 ] ; then
# Initial installation
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
elif [ "$1" -ge "2" ]; then
# backup config
if [ -e /var/lib/cobbler/distros ]; then
cp /var/lib/cobbler/distros* /var/lib/cobbler/backup 2>/dev/null
cp /var/lib/cobbler/profiles* /var/lib/cobbler/backup 2>/dev/null
cp /var/lib/cobbler/systems* /var/lib/cobbler/backup 2>/dev/null
cp /var/lib/cobbler/repos* /var/lib/cobbler/backup 2>/dev/null
cp /var/lib/cobbler/networks* /var/lib/cobbler/backup 2>/dev/null
fi
if [ -e /var/lib/cobbler/config ]; then
cp -a /var/lib/cobbler/config /var/lib/cobbler/backup 2>/dev/null
fi
# upgrade older installs
# move power and pxe-templates from /etc/cobbler, backup new templates to *.rpmnew
for n in power pxe; do
rm -f /etc/cobbler/$n*.rpmnew
find /etc/cobbler -maxdepth 1 -name "$n*" -type f | while read f; do
newf=/etc/cobbler/$n/`basename $f`
[ -e $newf ] && mv $newf $newf.rpmnew
mv $f $newf
done
done
# upgrade older installs
# copy kickstarts from /etc/cobbler to /var/lib/cobbler/kickstarts
rm -f /etc/cobbler/*.ks.rpmnew
find /etc/cobbler -maxdepth 1 -name "*.ks" -type f | while read f; do
newf=/var/lib/cobbler/kickstarts/`basename $f`
[ -e $newf ] && mv $newf $newf.rpmnew
cp $f $newf
done
/bin/systemctl try-restart cobblerd.service >/dev/null 2>&1 || :
fi
%preun
if [ $1 -eq 0 ] ; then
# Package removal, not upgrade
/bin/systemctl --no-reload disable cobblerd.service > /dev/null 2>&1 || :
/bin/systemctl stop cobblerd.service > /dev/null 2>&1 || :
fi
%postun
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
if [ $1 -ge 1 ] ; then
# Package upgrade, not uninstall
/bin/systemctl try-restart cobblerd.service >/dev/null 2>&1 || :
fi
%triggerun -- cobbler < 2.0.11-3
# Save the current service runlevel info
# User must manually run systemd-sysv-convert --apply cobblerd
# to migrate them to systemd targets
/usr/bin/systemd-sysv-convert --save cobblerd >/dev/null 2>&1 ||:
# Run these because the SysV package being removed won't do them
/sbin/chkconfig --del cobblerd >/dev/null 2>&1 || :
/bin/systemctl try-restart cobblerd.service >/dev/null 2>&1 || :
%else
%post
if [ "$1" = "1" ];
then
# This happens upon initial install. Upgrades will follow the next else
/sbin/chkconfig --add cobblerd
elif [ "$1" -ge "2" ];
then
# backup config
if [ -e /var/lib/cobbler/distros ]; then
cp /var/lib/cobbler/distros* /var/lib/cobbler/backup 2>/dev/null
cp /var/lib/cobbler/profiles* /var/lib/cobbler/backup 2>/dev/null
cp /var/lib/cobbler/systems* /var/lib/cobbler/backup 2>/dev/null
cp /var/lib/cobbler/repos* /var/lib/cobbler/backup 2>/dev/null
cp /var/lib/cobbler/networks* /var/lib/cobbler/backup 2>/dev/null
fi
if [ -e /var/lib/cobbler/config ]; then
cp -a /var/lib/cobbler/config /var/lib/cobbler/backup 2>/dev/null
fi
# upgrade older installs
# move power and pxe-templates from /etc/cobbler, backup new templates to *.rpmnew
for n in power pxe; do
rm -f /etc/cobbler/$n*.rpmnew
find /etc/cobbler -maxdepth 1 -name "$n*" -type f | while read f; do
newf=/etc/cobbler/$n/`basename $f`
[ -e $newf ] && mv $newf $newf.rpmnew
mv $f $newf
done
done
# upgrade older installs
# copy kickstarts from /etc/cobbler to /var/lib/cobbler/kickstarts
rm -f /etc/cobbler/*.ks.rpmnew
find /etc/cobbler -maxdepth 1 -name "*.ks" -type f | while read f; do
newf=/var/lib/cobbler/kickstarts/`basename $f`
[ -e $newf ] && mv $newf $newf.rpmnew
cp $f $newf
done
# reserialize and restart
# FIXIT: ?????
#/usr/bin/cobbler reserialize
/sbin/service cobblerd condrestart
fi
%preun
if [ $1 = 0 ]; then
/sbin/service cobblerd stop >/dev/null 2>&1 || :
chkconfig --del cobblerd || :
fi
%postun
if [ "$1" -ge "1" ]; then
/sbin/service cobblerd condrestart >/dev/null 2>&1 || :
/sbin/service httpd condrestart >/dev/null 2>&1 || :
fi
%endif
%clean
test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}/cobbler
%{_bindir}/cobbler-ext-nodes
%{_bindir}/cobblerd
%{_sbindir}/tftpd.py*
%config(noreplace) %{_sysconfdir}/cobbler
%if 0%{?fedora} >= 16
%{_unitdir}/cobblerd.service
%else
/etc/init.d/cobblerd
%endif
%{python_sitelib}/cobbler
%config(noreplace) /var/lib/cobbler
%exclude /var/lib/cobbler/webui_sessions
/var/log/cobbler
/var/www/cobbler
%{_mandir}/man1/cobbler.1.gz
%config(noreplace) /etc/httpd/conf.d/cobbler.conf
%if 0%{?fedora} >= 9 || 0%{?rhel} >= 5
%exclude %{python_sitelib}/cobbler/sub_process.py*
%endif
%if 0%{?fedora} >= 9 || 0%{?rhel} > 5
%{python_sitelib}/cobbler*.egg-info
/var/lib/tftpboot/images
%else
/tftpboot/images
%endif
%doc AUTHORS CHANGELOG README COPYING
%package -n koan
Summary: Helper tool that performs cobbler orders on remote machines
Group: Applications/System
Requires: python >= 2.0
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
Requires: python(abi) >= %{pyver}
Requires: python-simplejson
Requires: virt-install
%endif
%description -n koan
Koan stands for kickstart-over-a-network and allows for both
network installation of new virtualized guests and reinstallation
of an existing system. For use with a boot-server configured with Cobbler
%files -n koan
%defattr(-,root,root,-)
%dir /var/spool/koan
%dir /var/lib/koan/config
%{_bindir}/koan
%{_bindir}/ovz-install
%{_bindir}/cobbler-register
%{python_sitelib}/koan
%if 0%{?fedora} >= 9 || 0%{?rhel} >= 5
%exclude %{python_sitelib}/koan/sub_process.py*
%exclude %{python_sitelib}/koan/opt_parse.py*
%exclude %{python_sitelib}/koan/text_wrap.py*
%endif
%{_mandir}/man1/koan.1.gz
%{_mandir}/man1/cobbler-register.1.gz
%dir /var/log/koan
%doc AUTHORS COPYING CHANGELOG README
%package -n cobbler-web
Summary: Web interface for Cobbler
Group: Applications/System
Requires: cobbler
Requires: Django >= 1.1.2
Requires: mod_wsgi
Requires: mod_ssl
%if 0%{?fedora} >= 11 || 0%{?rhel} >= 6
Requires: python(abi) >= %{pyver}
%endif
%description -n cobbler-web
Web interface for Cobbler that allows visiting
http://server/cobbler_web to configure the install server.
%post -n cobbler-web
# Change the SECRET_KEY option in the Django settings.py file
# required for security reasons, should be unique on all systems
RAND_SECRET=$(openssl rand -base64 40 | sed 's/\//\\\//g')
sed -i -e "s/SECRET_KEY = ''/SECRET_KEY = \'$RAND_SECRET\'/" /usr/share/cobbler/web/settings.py
%files -n cobbler-web
%defattr(-,root,root,-)
%doc AUTHORS COPYING CHANGELOG README
%config(noreplace) /etc/httpd/conf.d/cobbler_web.conf
%defattr(-,apache,apache,-)
/usr/share/cobbler/web
%dir %attr(700,apache,root) /var/lib/cobbler/webui_sessions
/var/www/cobbler_webui_content/
%changelog
* Fri May 24 2013 James Cammarata <jimi@sngx.net> 2.4.0-beta6
- New BETA release - 2.4.0 beta6
* Mon Apr 22 2013 James Cammarata <jimi@sngx.net> 2.4.0-beta5
- A few bugfixes and rebuilding the RPM because of a goof
(jimi@sngx.net)
* Wed Apr 03 2013 James Cammarata <jimi@sngx.net> 2.4.0-beta4
- 2.4.0-beta4 release
* Wed Dec 12 2012 James Cammarata <jimi@sngx.net> 2.4.0-beta3
- New release 2.4.0-beta3
* Thu Oct 11 2012 James Cammarata <jimi@sngx.net> 2.4.0-beta2
- Modified spec version/release to be 2.4.0-beta2 (jimi@sngx.net)
- fixing up a bad commit merge (jimi@sngx.net)
* Thu Oct 11 2012 James Cammarata <jimi@sngx.net> 2.4.0-beta1
- Beta Release 1 of 2.4.0
- BUGFIX - Issue #329 - Systems no longer allow an add with an image for a
parent (jimi@sngx.net)
- BUGFIX - Issue #327 - revert 5afcff7 and fix in a more sane way
(jimi@sngx.net)
- Removed some duplicates created by reapplying a patch (jimi@sngx.net)
- BUGFIX - Issue #267 - old python-virtinst does not support --boot
(jimi@sngx.net)
- Revise install_post_puppet.py to use newer puppet syntax
(stephen@esstec.co.uk)
- Get rid of deprecated Puppet syntax so that cobbler works with Puppet 3.0
(stephen@esstec.co.uk)
- Added ubuntu to dist check for named.conf location
(daniel.givens@rackspace.com)
- Expanded automatic determination of tftpboot path, isc dhcp and bind service
names and config files based on distro. (daniel@givenstx.com)
- Make the service name for DHCP and DNS restarts configurable for better
portable between distros. (daniel.givens@rackspace.com)
- Serial based on formatted date and revision number (alevy@mobitv.com)
- Correct undefined variable name (jbd@jbdenis.net)
- fix merge Issue #252 BUGFIX and #262 (daikame@gmail.com)
- Add check for valid driver_type before executing qemu-img (jimi@sngx.net)
- fix mistake remove import. (daikame@gmail.com)
- move exec method to utils.py, and catch unexpected exception.
(daikame@gmail.com)
- not check driver type on create method. (daikame@gmail.com)
- BUGFIX - Issue #305 - Incorrect Kickstart file when gPXE enabled
(jimi@sngx.net)
- BUGFIX - Issue #304 - Cobbler does not store values correctly for ksmeta
Objects were getting flattened improperly, so it was losing escapes/quoting
for values with spaces (jimi@sngx.net)
- add vmdk and raw file create support. (daikame@gmail.com)
- BUGFIX - Issue #267 - old python-virtinst does not support --boot
(jimi@sngx.net)
- Modified spec version/release to be 2.4.0-beta-1 (jimi@sngx.net)
- Initial commit for mysql backend support (jimi@sngx.net)
- BUGFIX - Issue #277 - move webroot to /srv/www for debian/ubuntu
(jimi@sngx.net)
- FEATURE - adding 'zonetype' variable for DNS zone rendering (jimi@sngx.net)
- BUGFIX - Issue #278 - cobbler import fails for ubuntu images due to rsync
args (jimi@sngx.net)
- BUGFIX - Issue #285 - update cobbler man page for incorrect options
(jimi@sngx.net)
- BUGFIX - Issue #241 - adding distro with blank name via XMLRPC should not
work (jimi@sngx.net)
- BUGFIX - Issue #272 - allow anamon to log entries when building systems based
on profiles (no corresponding system record) (jimi@sngx.net)
- BUGFIX - Issue #252 - fuzzy match on lvs name returns a false match
preventing LV creation (jimi@sngx.net)
- BUGFIX - Issue #287 - patch to allow templar to work without a config, which
was breaking the tftpd.py script (jimi@sngx.net)
- add qcow2 driver type (daikame@gmail.com)
- fix koan qemu-machine-type param test. (daikame@gmail.com)
- Only cosmetic cleanup - removed commands that were commented out, added
spaces for more clear code (flaks@bnl.gov)
- Modified sample.seed to make use kickstart_start and kickstart_done snippets
for debian. As a result the following cobbler features work for debian: -
prevent net boot looping - cobbler status reflects debian installations -
preseed file is downloaded a nd saved on the installed system as
/var/log/cobbler.seed Also made download_config_files_deb snippet, make use
of late_command New post_run_deb snippet allows to execute post installation
script. (flaks@bnl.gov)
- Some changes for testing (jimi@sngx.net)
- Minor fix for urlparse on older pythons (>2.5) (jimi@sngx.net)
- FEATURE - Issue #253 - Use PEERDNS=no for DHCP interfaces when name servers
are specified (jimi@sngx.net)
- install-tree for debian/ubuntu modified to take tree= from meta data. http,
ftp and nfs remote tree locations supported (flaks@bnl.gov)
- add support of custom logical volume name (daikame@gmail.com)
- Partial revert of 87acfc8b, and a minor change to bring the koan extra-args
inline with the PXE args (jimi@sngx.net)
- New default preseed, and a few minor changes to make ubuntu auto install work
better (jimi@sngx.net)
- Add support for qemu machine type to emulate (option --qemu-machine-type).
(isaoshimizu@gmail.com)
- Modern x86 kernels have 2048 char limit and this is needed to support
configurations with kickstart+NIC kernel params. Otherwise koan refuses to
accept the param list. (oliver@cpan.org)
- Allow koan's -S option to work for SuSE breed. Also remove -S for breed=None,
as I assume "Red Hat" is not a sane assumption for all Distros without a
breed. (oliver@cpan.org)
- Only add a udev net rule for an interface if the MAC is set. This fixes
behaviour whereby a dummy udev rule at eth0 forces the first NIC to get eth1
post-install. (oliver@cpan.org)
- Make the domainname setting be the full eth0 DNS Name, minus the first dotted
part (and not the FQDN). (oliver@cpan.org)
- BUGFIX - Issue #252 - fuzzy match on lvs name returns a false match
preventing LV creation (jimi@sngx.net)
- Added back in the filesystem loader. (oliver@cpan.org)
- BUGFIX - Issue #247 - Reposync does not work from the web interface
(jimi@sngx.net)
- BUGFIX - Issue #246 - CentOS 5.x install fence_tools to /sbin/
(jimi@sngx.net)
- Fix post_report trigger typo (jimi@sngx.net)
- Some fixes for koan running with an old virt-install (jimi@sngx.net)
- Define pxe_menu_items variable when creating PXE files for systems
(jthiltges2@unl.edu)
- Refactor PXE and GRUB menu item creation into a separate function
(jthiltges2@unl.edu)
- django 1.4 and later have deprecated the old TEMPLATE_LOADERS and replaced
them with a new app_directories.Loader (oliver@cpan.org)
- Add support for UEFI boot to the subnet, but not for defined systems yet.
(erinn.looneytriggs@gmail.com)
- Fix redhat import whitelist for Fedora 17 (jimi@sngx.net)
- Fix unittest on the case of haven't virt-install libs. (daikame@gmail.com)
- os_version for debian should be similar to ubunty for virt-install to work
changed tree in app.py so that I can use debian mirror different from cobbler
server (flaks@bnl.gov)
- fedora 17 changed the output of ifconfig command. This will make IFNAME set
in snippets again (flaks@bnl.gov)
- remove edit for now (flaks@bnl.gov)
- Fixed snippets for bonded_bridge_slave and a few other fixes for koan/web GUI
(jimi@sngx.net)
- Initial support for bonded_bridge_slave type. TODO: modifying snippets to
actually make it work... (jimi@sngx.net)
- The webui_sessions directory belongs only to cobbler-web
(chutzimir@gmail.com)
- RPM: put cobbler*.conf files only in /etc/httpd/conf.d
(cristian.ciupitu@yahoo.com)
- better fix for pull request #228 (jorgen.maas@gmail.com)
- make rpms failed because the misc/ directory containing the augeas lense
could not be found. this simple diff fixes that. (jorgen.maas@gmail.com)
- Ubuntu actually requires auto=true in kopts See
http://serverfault.com/a/144290/39018 (ekirpichov@gmail.com)
- Whitespace cleanup for the new openvz stuff (jimi@sngx.net)
- Remove dead code (useless imports) (cristian.ciupitu@yahoo.com)
- BUGFIX extra-args option problems (daikame@gmail.com)
- FIX koan virt-install tests. (daikame@gmail.com)
- added debian support to prevent net boot looping (flaks@bnl.gov)
- README.openvz: - added (nvrhood@gmail.com)
- scripts/ovz-install: - added support for "services" kickstart option -
corrected repos and installation source processing (nvrhood@gmail.com)
- cobbler.spec, setup.py: - added scripts/ovz-install (nvrhood@gmail.com)
- koan/openvzcreate.py, scripts/ovz-install: - changes in copyright notice
(nvrhood@gmail.com)
- koan/app.py: - bug in koan: size of freespace on VG expressed as float with
comma, but need fload with point (nvrhood@gmail.com)
- koan/app.py: - added type "openvz" (nvrhood@gmail.com)
- cobbler/collection.py: - openvz containers doesn't need to boot from PXE, so
we prevent PXE-menu creation for such profiles. (nvrhood@gmail.com)
- cobbler/item_profile.py, cobbler/utils.py: - added "openvz" virtualization
type (nvrhood@gmail.com)
- cobbler/item_system.py: - added openvz for virt_type (nvrhood@gmail.com)
- [BUGFIX] template errors can hit an exception path that references an
undefined variable (jimi@sngx.net)
- If the call to int() fails, inum has no value, thus the reference to inum in
the except clause causes an UnboundLocalError when it tries to reference
inum. (joshua@azariah.com)
- Add new ubuntu (alpha) version to codes.py (jorgen.maas@gmail.com)
- Not all remove current ifcfg- post_install_network_config (me@n0ts.org)
- Update systemctl script to resolve some issues (jimi@sngx.net)
- More spec fixes (jimi@sngx.net)
- Removing replicate_use_default_rsync_options setting and setting
replicate_rsync_options to existing rsync default. Issue #58
(john@julienfamily.com)
- Commit for RFE: Expose rsync options during replication. Issue #58
(john@julienfamily.com)
- Yet more HTML/CSS fixes, cleaning up some overly large inputs caused by other
CSS changes (jimi@sngx.net)
- More HTML/CSS improvements for new weblayout (jimi@sngx.net)
- CSS improvements for the tabbed layout (jimi@sngx.net)
- Fix for settings edit using the new tab format (jimi@sngx.net)
- Added a cancel button to replace the reset button (jimi@sngx.net)
- Fix saving of multiselect fields (jimi@sngx.net)
- Modification to generic_edit template to use tabs for categories plus some
miscellaneous cleanup (jimi@sngx.net)
- Adding an example line for redhat imports to the whitelist file
(jimi@sngx.net)
- Another minor fix for suse imports - fixing up name when using --available-as
(already done in other import modules) - allowing multiple arch imports (also
already done in other imports) (jimi@sngx.net)
- Some fixups for suse using --available-as (jimi@sngx.net)
- Fix for import when using --available-as - currently rsyncs full remote tree,
changing that to only import files in a white list - some modifications to
import modules to clean some things up and make available-as work better -
fix in utils.py for path_tail, which was not working right and appending the
full path (jimi@sngx.net)
- Run the same sed command on the default distributed config file to ensure
consistent indentation (jimi@sngx.net)
- Add setting to enable/disable dynamic settings changes Adding
cobblersettings.aug to distributed files, since we need a copy that doesn't
insert tabs Added a "cobbler check" that checks if dynamic settings is
enabled and prints a sed command to cleanup the settings file spacing/indents
(jimi@sngx.net)
- Change cli command "settings" to "setting" to match other commands (which are
not plurarlized) (jimi@sngx.net)
- Removing commented-out try/except block in config.py, didn't mean to commit
this (jimi@sngx.net)
- Fixed/improved CLI reporting for settings (jimi@sngx.net)
- Added support for validating setting type when saving Also fixed up the
augeas stuff to save lists and hashes correctly (jimi@sngx.net)
- Fix for incorrect redirect when login times out when looking at a setting
edit (jimi@sngx.net)
- Dynamic settings edit support for the web GUI (jimi@sngx.net)
- Added ability to write settings file via augeas (jimi@sngx.net)
- Initial support for modifying settings live Changed settings do not survive a
reboot and revert to what's in /etc/cobbler/settings TODO: * report --name
show a single setting * validate settings based on type (string, list, bool,
etc.) * web support for editing * persisting settings after change
(jimi@sngx.net)
- Branch for 2.4.0, updated spec and setup.py (jimi@sngx.net)
* Sun Jun 17 2012 James Cammarata <jimi@sngx.net> 2.2.3-2
- [BUGFIX] re-enable writing of DHCP entries for non-pxeboot-enabled systems
unless they're static (jimi@sngx.net)
* Tue Jun 05 2012 James Cammarata <jimi@sngx.net> 2.2.3-1
- [BUGFIX] add dns to kernel commandline when using static interface
(frido@enu.zolder.org)
- [BUGFIX] issue #196 - repo environment variables bleed into other repos
during sync process This patch has reposync cleanup/restore any environment
variables that were changed during the process (jimi@sngx.net)
- BUGFIX quick dirty fix to work around an issue where cobbler would not log in ldap
usernames which contain uppercase characters. at line 60 instead of "if user
in data", "if user.lower() in data" is used. It would appear the parser puts
the usernames in data[] in lowercase, and the comparison fails because "user"
does hold capitalizations. (matthiasvandegaer@hotmail.com)
- [BUGFIX] simplify SELinux check reporting
* Remove calls to semanage, policy prevents apps from running that directly
(and speeds up check immensely)
* Point users at a wiki page which will contain details on ensuring cobbler
works with SELinux properly (jimi@sngx.net)
- [BUGFIX] issue #117 - incorrect permissions on files in /var/lib/cobbler
(j-nomura@ce.jp.nec.com)
- [BUGFIX] issue #183 - update objects mgmt classes field when a mgmt class is
renamed (jimi@sngx.net)
- [BUGFIX] adding some untracked directories and the new augeas lense to the
setup.py and cobbler.spec files (jimi@sngx.net)
- [FEATURE] Added ability to disable grubby --copy-default behavior for distros that may
have problems with it (jimi@sngx.net)
- [SECURITY] Major changes to power commands:
* Fence options are now based on /usr/sbin/fence_* - so basically anything the
fence agents package provides.
* Templates will now be sourced from /etc/cobbler/power/fence_<powertype>.template.
These templates are optional, and are only required if you want to do extra
options for a given command. - All options for the fence agent command are sent
over STDIN.
* Support for ipmitool is gone, use fence_ipmilan instead (which uses ipmitool
under the hood anyway). This may apply to other power types if they were provided
by a fence_ command.
* Modified labels for the power options to be more descriptive. (jimi@sngx.net)
- [BUGFIX] issue #136 - don't allow invalid characters in names when copying
objects (jimi@sngx.net)
- [BUGFIX] issue #168 - change input_string_or_list to use shlex for split This
function was using a regular string split, which did not allow quoted or
escaped strings to be preserved. (jimi@sngx.net)
- [BUGFIX] Correct method to process the template file. This Fixes the previous issue
and process the template. (charlesrg@gmail.com)
- [BUGFIX] issue #170 - koan now checks length of drivers list before indexing
(daniel@defreez.com)
- [BUGFIX] Issue #153 - distro delete doesn't remove link from
/var/www/cobbler/links Link was being created incorrectly during the import
(jimi@sngx.net)
- [FEATURE] snippets: save/restore boot-device on ppc64 on fedora17 (nacc@us.ibm.com)
- [BUGFIX] Fixed typo in pre_anamon (brandor5@gmail.com)
- [BUGFIX] Added use of $http_port to server URL in pre_anamon and post_anamon
(brandor5@gmail.com)
- [BUGFIX] Fixed dnsmasq issue regarding missing dhcp-host entries (cobbler@basjes.nl)
- [BUGFIX] in buildiso for RedHat based systems. The interface->ip resolution was
broken when ksdevice=bootif (default) (jorgen.maas@gmail.com)
- [BUGFIX] rename failed for distros that did not live under ks_mirror
(jimi@sngx.net)
- [BUGFIX] Partial revert of commit 3c81dd3081 - incorrectly removed the 'extends'
template directive, breaking rendering in django (jimi@sngx.net)
- [BUGFIX] Reverting commit 1d6c53a97, which was breaking spacewalk Changed the web
interface stuff to use the existing extended_version() remote call
(jimi@sngx.net)
- [BUGFIX] Minor fix for serializer_pretty_json change, setting indent to 0 was still
causing more formatted JSON to be output (jimi@sngx.net)
- [SECURITY] Adding PrivateTmp=yes to the cobblerd.service file for systemd
(jimi@sngx.net)
- [FEATURE] add a config option to enable pretty JSON output (disabled by default)
(aronparsons@gmail.com)
- [BUGFIX] issue #107 - creating xendomains link for autoboot fails Changing an
exception to a printed warning, there's no need to completely bomb out on the
process for this (jimi@sngx.net)
- [BUGFIX] issue #28 - Cobbler drops errors on the floor during a replicate
Added additional logging to add_ functions to report an error if the add_item
call returns False (jimi@sngx.net)
- [BUGFIX] add requirement for python-simplejson to koan's package
(jimi@sngx.net)
- [BUGFIX] action_sync: fix sync_dhcp remote calls (nacc@us.ibm.com)
- [BUGFIX] Add support for KVM paravirt (justin@thespies.org)
- [BUGFIX] Makefile updates for debian/ubuntu systems (jimi@sngx.net)
- [BUGFIX] fix infinite netboot cycle with ppc64 systems (nacc@us.ibm.com)
- [BUGFIX] Don't allow Templar classes to be created without a valid config
There are a LOT of places in the templar.py code that use self.settings
without checking to make sure a valid config was passed in. This could cause
random stack dumps when templating, so it's better to force a config to be
passed in. Thankfully, there were only two pieces of code that actually did
this, one of which was the tftpd management module which was fixed elsewhere.
(jimi@sngx.net)
- [BUGFIX] instance of Templar() was being created without a config passed in
This caused a stack dump when the manage_in_tftpd module tried to access the
config settings (jimi@sngx.net)
- [BUGFIX] Fix for issue #17 - Make cobbler import be more squeaky when it doesn't
import anything (jimi@sngx.net)
- [FEATURE] autoyast_sample: save and restore boot device order (nacc@us.ibm.com)
- [BUGFIX] Fix for issue #105 - buildiso fails Added a new option for buildiso:
--mkisofs-opts, which allows specifying extra options to mkisofs TODO: add
input box to web interface for this option (jimi@sngx.net)
- [BUGFIX] incorrect lower-casing of kickstart paths - regression from issue
#43 (jimi@sngx.net)
- [FEATURE] Automatically detect and support bind chroot (orion@cora.nwra.com)
- [FEATURE] Add yumopts to kickstart repos (orion@cora.nwra.com)
- [BUGFIX] Fix issue with cobbler system reboot (nacc@us.ibm.com)
- [BUGFIX] fix stack trace in write_pxe_file if distro==None (smoser@brickies.net)
- [BUGFIX] Changed findkeys function to be consisten with keep_ssh_host_keys snippet
(flaks@bnl.gov)
- [BUGFIX] Fix for issue #15 - cobbler image command does not recognize
--image-type=memdisk (jimi@sngx.net)
- [BUGFIX] Issue #13 - reposync with --tries > 1 always repeats, even on
success The success flag was being set when the reposync ran, but didn't
break out of the retry loop - easy fix (jimi@sngx.net)
- [BUGFIX] Fix for issue #42 - kickstart not found error when path has leading
space (jimi@sngx.net)
- [BUGFIX] Fix for issue #26 - Web Interface: Profile Edit
* Added jquery UI stuff
* Added javascript to generic_edit template to make all selects in the
class "edit" resizeable
(jimi@sngx.net)
- [BUGFIX] Fix for issue #53 - cobbler system add without --profile exits 0,
but does nothing (jimi@sngx.net)
- [BUGFIX] Issue #73 - Broken symlinks on distro rename from web_gui
(jimi@sngx.net)
- regular OS version maintenance (jorgen.maas@gmail.com)
- [BUGFIX] let koan not overwrite existing initrd+kernel (ug@suse.de)
- [FEATURE] koan:
* Port imagecreate to virt-install (crobinso@redhat.com)
* Port qcreate to virt-install (crobinso@redhat.com)
* Port xen creation to virt-install (crobinso@redhat.com)
- [FEATURE] new snippet allows for certificate-based RHN registration
(jim.nachlin@gawker.com)
- [FEATURE] Have autoyast by default behave more like RHEL, regarding networking etc.
(chorn@fluxcoil.net)
- [BUGFIX] sles patches (chorn@fluxcoil.net)
- [BUGFIX] Simple fix for issue where memtest entries were not getting created after
installing memtest86+ and doing a cobbler sync (rharriso@redhat.com)
- [BUGFIX] REMOTE_ADDR was not being set in the arguments in calls to CobblerSvc
instance causing ip address not to show up in install.log.
(jweber@cofront.net)
- [BUGFIX] add missing import of shutil (aparsons@redhat.com)
- [BUGFIX] add a sample kickstart file for ESXi (aparsons@redhat.com)
- [BUGFIX] the ESXi installer allows two nameservers to be defined (aparsons@redhat.com)
- [BUGFIX] close file descriptors on backgrounded processes to avoid hanging %%pre
(aparsons@redhat.com)
- [BUGFIX] rsync copies the repositories with --delete hence deleting everyhting local
that isn't on the source server. The createrepo then creates (following the
default settings) a cache directory ... which is deleted by the next rsync
run. Putting the cache directory in the rsync exclude list avoids this
deletion and speeds up running reposync dramatically. (niels@basjes.nl)
- [BUGFIX] Properly blame SELinux for httpd_can_network_connect type errors on initial
setup. (michael.dehaan@gmail.com)
- fix install=... kernel parameter when importing a SUSE distro (ug@suse.de)
- [BUGFIX] Force Django to use the system's TIME_ZONE by default.
(jorgen.maas@gmail.com)
- [FEATURE] Separated check for permissions from file existence check.
(aaron.peschel@gmail.com)
- [BUGFIX] If the xendomain symlink already exists, a clearer error will be produced.
(aaron.peschel@gmail.com)
- [FEATURE] Adding support for ESXi5, and fixing a few minor things (like not having a
default kickstart for esxi4) Todos: * The esxi*-ks.cfg files are empty, and
need proper kickstart templates * Import bug testing and general kickstart
testing (jimi@sngx.net)
- [FEATURE] Adding basic support for gPXE (jimi@sngx.net)
- [FEATURE] Add arm as a valid architecture. (chuck.short@canonical.com)
- [SECURITY] Changes PYTHON_EGG_CACHE to a safer path owned just by the webserver.
(chuck.short@canonical.com)
- [BUGFIX] koan: do not include ks_meta args when obtaining tree When obtaining the tree
for Ubuntu machines, ensure that ks_meta args are not passed as part of the
tree if they exist. (chuck.short@canonical.com)
- [FEATURE] koan: Use grub2 for --replace-self instead of grubby The koan option
'--replace-self' uses grubby, which relies on grub1, to replace a local
installation by installing the new kernel/initrd into grub menu entries.
Ubuntu/Debian no longer uses it grub1. This patch adds the ability to use
grub2 to add the kernel/initrd downloaded to a menuentry. On reboot, it will
boot from the install kernel reinstalling the system. Fixes (LP: #766229)
(chuck.short@canonical.com)
- [BUGFIX] Fix reposync missing env variable for debmirror Fixes missing HOME env
variable for debmirror by hardcoding the environment variable to
/var/lib/cobbler (chuck.short@canonical.com)
- [BUGFIX] Fix creation of repo mirror when importing iso. Fixes the creation of a
disabled repo mirror when importing ISO's such as the mini.iso that does not
contain any mirror/packages. Additionally, really enables 'apt' as possible
repository. (chuck.short@canonical.com)
- [BUGFIX] adding default_template_type to settings.py, caused some issues with
templar when the setting was not specified in the /etc/cobbler/settings
(jimi@sngx.net)
- [BUGFIX] fix for following issue: can't save networking options of a system
in cobbler web interface. (#8) (jimi@sngx.net)
- [BUGFIX] Add a new setting to force CLI commands to use the localhost for xmlrpc
(chjohnst@gmail.com)
- [BUGFIX] Don't blow up on broken links under /var/www/cobbler/links
(jeffschroeder@computer.org)
- [SECURITY] Making https the default for the cobbler web GUI. Also modifying the cobbler-
web RPM build to require mod_ssl and mod_wsgi (missing wsgi was an oversight,
just correcting it now) (jimi@sngx.net)
- [FEATURE] Adding authn_pam. This also creates a new setting - authn_pam_service, which
allows the user to configure which PAM service they want to use for cobblerd.
The default is the 'login' service (jimi@sngx.net)
- [SECURITY] Change in cobbler.spec to modify permissions on webui sessions directory to
prevent non-privileged user acccess to the session keys (jimi@sngx.net)
- [SECURITY] Enabling CSRF protection for the web interface (jimi@sngx.net)
- [SECURITY] Convert all yaml loads to safe_loads for security/safety reasons.
https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/858883 (jimi@sngx.net)
- [FEATURE] Added the setting 'default_template_type' to the settings file, and created
logic to use that in Templar().render(). Also added an option to the same
function to pass the template type in as an argument. (jimi@sngx.net)
- [FEATURE] Initial commit for adding support for other template languages, namely jinja2
in this case (jimi@sngx.net)
* Tue Nov 15 2011 Scott Henson <shenson@redhat.com> 2.2.2-1
- Changelog update (shenson@redhat.com)
- Fixed indentation on closing tr tag (gregswift@gmail.com)
- Added leader column to the non-generic tables so that all tables have the
same layout. It leaves room for a checkbox and multiple selects i nthese
other tables as well. (gregswift@gmail.com)
- Added action class to the event log link to bring it inline with other table
functions (gregswift@gmail.com)
- buildiso bugfix: overriding dns nameservers via the dns kopt now works.
reported by Simon Woolsgrove <simon@woolsgrove.com> (jorgen.maas@gmail.com)
- Fix for pxegen, where an image without a distro could cause a stack dump on
cobbler sync (jimi@sngx.net)
- Added initial support for specifying the on-disk format of virtual disks,
currently supported for QEMU only when using koan (jimi@sngx.net)
- Add fedora16, rawhide, opensuse 11.2, 11.3, 11.4 and 12.1 to codes.py This
should also fix ticket #611 (jorgen.maas@gmail.com)
- Use VALID_OS_VERSIONS from codes.py in the redhat importer.
(jorgen.maas@gmail.com)
- Cleanup: use utils.subprocess_call in services.py (jorgen.maas@gmail.com)
- Cleanup: use utils.subprocess_call in remote.py. (jorgen.maas@gmail.com)
- Cleanup: use utils.subprocess_call in scm_track.py. Also document that 'hg'
is a valid option in the settings file. (jorgen.maas@gmail.com)
- Dont import the sub_process module when it's not needed.
(jorgen.maas@gmail.com)
- Fixes to import_tree() to actually copy files to a safe place when
--available-as is specified. Also some cleanup to the debian/ubuntu import
module for when --available-as is specified. (jimi@sngx.net)
- Modification to import processes so that rsync:// works as a path. These
changes should also correct the incorrect linking issue where the link
created in webdir/links/ pointed at a directory in ks_mirror without the arch
specified, resulting in a broken link if --arch was specified on the command
line Also removed the .old import modules for debian/ubuntu, which were
replaced with the unified manage_import_debian_ubuntu.py (jimi@sngx.net)
- cleanup: use codes.VALID_OS_VERSIONS in the freebsd importer
(jorgen.maas@gmail.com)
- cleanup: use codes.VALID_OS_VERSIONS in the debian/ubuntu importer
(jorgen.maas@gmail.com)
- Bugfix: add the /var/www/cobbler/pub directory to setup.py. Calling buildiso
from cobbler-web now works as expected. (jorgen.maas@gmail.com)
- BUGFIX: patch koan (xencreate) to correct the same issue that was broken for
vmware regarding qemu_net_type (jimi@sngx.net)
- BUGFIX: fixed issue with saving objects in the webgui failing when it was the
first of that object type saved. (jimi@sngx.net)
- Minor fix to the remote version to use the nicer extended version available
(jimi@sngx.net)
- Fix a bug in buildiso when duplicate kopt keys are used. Reported and tested
by Simon Woolsgrove <simon@woolsgrove.com> (jorgen.maas@gmail.com)
- Fix for koan, where vmwcreate.py was not updated to accept the network type,
causing failures. (jimi@sngx.net)
- Added a %post section for the cobbler-web package, which replaces the
SECRET_KEY field in the Django settings.py with a random string
(jimi@sngx.net)
- BUGFIX: added sign_puppet_certs_automatically to settings.py. The fact that
this was missing was causing failures in the the pre/post puppet install
modules. (jimi@sngx.net)
- set the auto-boot option for a virtual machine (ug@suse.de)
- Correction for koan using the incorrect default port for connecting to
cobblerd (jimi@sngx.net)
- config/settings: add "manage_tftpd: 1" (default setting)
(cristian.ciupitu@yahoo.com)
* Wed Oct 05 2011 Scott Henson <shenson@redhat.com> 2.2.1-1
- Import changes for systemd from the fedora spec file (shenson@redhat.com)
* Wed Oct 05 2011 Scott Henson <shenson@redhat.com> 2.2.0-1
- Remove the version (shenson@redhat.com)
- New upstream 2.2.0 release (shenson@redhat.com)
- Add networking snippet for SuSE systems. (jorgen.maas@gmail.com)
- Add a /etc/hosts snippet for SuSE systems. (jorgen.maas@gmail.com)
- Add a proxy snippet for SuSE systems. (jorgen.maas@gmail.com)
- Buildiso: make use of the proxy field (SuSE, Debian/Ubuntu).
(jorgen.maas@gmail.com)
- Rename buildiso.header to buildiso.template for consistency. Also restore the
local LABEL in the template. (jorgen.maas@gmail.com)
- Bugfix: uppercase macaddresses used in buildiso netdevice= keyword cause the
autoyast installer to not setup the network and thus fail.
(jorgen.maas@gmail.com)
- Buildiso: minor cleanup diff. (jorgen.maas@gmail.com)
- Buildiso: behaviour changed after feedback from the community.
(jorgen.maas@gmail.com)
- Build standalone ISO from the webinterface. (jorgen.maas@gmail.com)
- Fix standalone ISO building for SuSE, Debian and Ubuntu.
(jorgen.maas@gmail.com)
- add proxy field to field_info.py (jorgen.maas@gmail.com)
- Remove FreeBSD from the unix breed as it has it's own now. Also, add freebsd7
as it is supported until feb 2013. Minor version numbers don't make sense,
also removed. (jorgen.maas@gmail.com)
- Add a proxy field to profile and system objects. This is useful for
environments where systems are not allowed to make direct connections to the
cobbler/repo servers. (jorgen.maas@gmail.com)
- Introduce a "status" field to system objects. Useful in environments where
DTAP is required, the possible values for this field are: development,
testing, acceptance, production (jorgen.maas@gmail.com)
- Buildiso: only process profiles for selected systems. (jorgen.maas@gmail.com)
- Buildiso: add batch action to build an iso for selected profiles.
(jorgen.maas@gmail.com)
- Buildiso: use management interface feature. (jorgen.maas@gmail.com)
- Buildiso: get rid of some code duplication (ISO header).
(jorgen.maas@gmail.com)
- Buildiso: add interface to macaddr resolution. (jorgen.maas@gmail.com)
- Buildiso: add Debian and Ubuntu support. (jorgen.maas@gmail.com)
- Buildiso: select systems from the webinterface. (jorgen.maas@gmail.com)
- Fix an exception when buildiso is called from the webinterface.
(jorgen.maas@gmail.com)
- fix power_virsh template to check dom status before executing command.
(bpeck@redhat.com)
- if hostname is not resolvable do not fail and use that hostname
(msuchy@redhat.com)
- Removed action_import module and references to it in code to prevent future
confusion. (jimi@sngx.net)
- Fixing redirects after a failed token validation. You should now be
redirected back to the page you were viewing after having to log back in due
to a forced login. (jimi@sngx.net)
- Use port to access cobbler (peter.vreman@acision.com)
- Stripping "g" from vgs output case-insensitive runs faster
(mmello@redhat.com)
- Adding ability to create new sub-directories when saving snippets. Addresses
trac #634 - save new snippet fails on non existing subdir (jimi@sngx.net)
- Fix traceback when executing "cobbler system reboot" with no system name
specified Trac ticket #578 - missing check for name option with system reboot
(jimi@sngx.net)
- bind zone template writing (jcallaway@squarespace.com)
- Removing the duplicate lines from importing re module (mmello@redhat.com)
- Merge remote-tracking branch 'jimi1283/bridge-interface' (shenson@redhat.com)
- Modification to allow DEPRECATED options to be added as options to optparse
so they work as aliases (jimi@sngx.net)
- Re-adding the ability to generate a random mac from the webui. Trac #543
(Generate random mac missing from 2.x webui) (jimi@sngx.net)
- Merge remote-tracking branch 'jsabo/fbsdreplication' (shenson@redhat.com)
- Tim Verhoeven <tim.verhoeven.be@gmail.com> (Tue. 08:35) (Cobbler attachment)
Subject: [PATCH] Add support to koan to select type of network device to
emulate To: cobbler development list <cobbler-devel@lists.fedorahosted.org>
Date: Tue, 2 Aug 2011 14:35:21 +0200 (shenson@redhat.com)
- Hello, (shenson@redhat.com)
- scm_track: Add --all to git add options to handle deletions (tmz@pobox.com)
- Moved HEADER heredoc from action_buildiso.py to
/etc/cobbler/iso/buildiso.header (gbailey@terremark.com)
- Enable replication for FreeBSD (jsabo@verisign.com)
- Merge branch 'master' into bridge-interface (jimi@sngx.net)
- Remove json settings from local_get_cobbler_xmlrpc_url() (jsabo@verisign.com)
- 1) Moving --subnet field to --netmask 2) Created DEPRECATED_FIELDS structure
in field_info.py to deal with moves like this * also applies to the
bonding->interface_type move for bridged interface support (jimi@sngx.net)
- Merge remote-tracking branch 'jimi1283/bridge-interface' (shenson@redhat.com)
- Fixing up some serializer module stuff: * detecting module load errors when
trying to deserialize collections * added a what() function to all the
serializer modules for ID purposes * error detection for mongo stuff,
including pymongo import problems as well as connection issues
(jimi@sngx.net)
- Cleanup of bonding stuff in all files, including webui and koan. Additional
cleanup in the network config scripts, and re-added the modprobe.conf
renaming code to the post install network config. (jimi@sngx.net)
- Initial rework to allow bridge/bridge slave interfaces Added static route
configuration to pre_install_network_config Major cleanup/reworking of
post_install_network_config script (jimi@sngx.net)
- Fix for bad commit of some json settings test (jimi@sngx.net)
- Merge remote-tracking branch 'jsabo/fbsdimport' (shenson@redhat.com)
- Adding initial support for FreeBSD media importing (jsabo@verisign.com)
- Setting TIME_ZONE to None in web/settings.py causes a 500 error on a RHEL5
system with python 2.4 and django 1.1. Commenting out the config line has the
same effect as setting it to None, and prevents the 500. (jimi@sngx.net)
- Fixes for importing RHEL6: * path_tail() was previously moved to utils, a
couple places in the import modules still used self.path_tail instead
of utils.path_tail, causing a stack dump * Fixed an issue in
utils.path_tail(), which was using self. still from when it was a member
of the import class * When mirror name was set on import and using
--available-as, it was appending a lot of junk instead of just using the
specified mirror name (jimi@sngx.net)
- Merge branch 'master' of git://git.fedorahosted.org/cobbler (jimi@sngx.net)
- Fix a quick error (shenson@redhat.com)
- Set the tftpboot dir for rhel6 hosts (jsabo@verisign.com)
- Fixed a typo (jorgen.maas@gmail.com)
- Added an extra field in the system/interface item. The field is called
"management" and should be used to identify the management interface, this
could be useful information for multihomed systems. (jorgen.maas@gmail.com)
- In the event log view the data/time field got wrapped which is very annoying.
Fast fix for now, i'm pretty sure there are better ways to do this.
(jorgen.maas@gmail.com)
- Event log soring on date reverted, let's sort on id instead. Reverse over
events in the template. Convert gmtime in the template to localtime.
(jorgen.maas@gmail.com)
- Sort the event log by date/time (jorgen.maas@gmail.com)
- Remove some unsupported OS versions from codes.py (jorgen.maas@gmail.com)
- Some changes in the generate_netboot_iso function/code: - Users had to supply
all system names on the commandline which they wanted to include in the ISO
boot menu. This patch changes that behaviour; all systems are included by
default now. You can still provide an override with the --systems parameter,
thus making this feature more consistent with what one might expect from
reading the help. - While at it I tried to make the code more readable and
removed some unneeded iterations. - Prevent some unneeded kernel/initrd
copies. - You can now override ip/netmask/gateway/dns parameters with
corresponding kernel_options. - Fixed a bug for SuSE systems where ksdevice
should be netdevice. - If no ksdevice/netdevice (or equivalent) has been
supplied via kernel_options try to guess the proper interface to use, but
don't just use one if we can't be sure about it (e.g. for multihomed
systems). (jorgen.maas@gmail.com)
- Add SLES 11 to codes.py (jorgen.maas@gmail.com)
- Add support for Fedora15 to codes.py (jorgen.maas@gmail.com)
- Django uses the timezone information from web/settings.py Changing the
hardcoded value to None forces Django to use the systems timezone instead of
this hardcoded value (jorgen.maas@gmail.com)
- Fix cobbler replication for non-RHEL hosts. The slicing used in the
link_distro function didn't work for all distros. (jsabo@verisign.com)
- Fix vmware esx importing. It was setting the links dir to the dir the iso was
mounted on import (jsabo@verisign.com)
- Merge remote-tracking branch 'jsabo/webuifun' (shenson@redhat.com)
- Fix bug with esxi replication. It wasn't rsyncing the distro over if the
parentdir already existed. (jsabo@verisign.com)
- Merge branch 'master' of git://git.fedorahosted.org/cobbler (jimi@sngx.net)
- Initial commit for mongodb backend support and adding support for settings as
json (jimi@sngx.net)
- Web UI patches from Greg Swift applied (jsabo@verisign.com)
- whitespace fix (dkilpatrick@verisign.com)
- Fix to fix to py_tftp change to sync in bootloaders
(dkilpatrick@verisign.com)
- Fixing a bug reported by Jonathan Sabo. (dkilpatrick@verisign.com)
- Merge branch 'master' of git://git.fedorahosted.org/cobbler
(dkilpatrick@verisign.com)
- Revert "Jonathan Sabo <jsabo@criminal.org> (June 09) (Cobbler)"
(shenson@redhat.com)
- Unmount and deactivate all software raid devices after searching for ssh keys
(jonathan.underwood@gmail.com)
- Merge remote-tracking branch 'ugansert/master' (shenson@redhat.com)
- Jonathan Sabo <jsabo@criminal.org> (June 09) (Cobbler) Subject: [PATCH] Fix
issue with importing distro's on new cobbler box To: cobbler development list
<cobbler-devel@lists.fedorahosted.org> Date: Thu, 9 Jun 2011 16:17:20 -0400
(shenson@redhat.com)
- missing manage_rsync option from config/settings (jsabo@criminal.org)
- Remove left-over debugging log message (dkilpatrick@verisign.com)
- SUSE requires the correct arch to find kernel+initrd on the inst-source
(ug@suse.de)
- added autoyast=... parameter to the ISO building code when breed=suse
(ug@suse.de)
- calculate meta data in the XML file without cheetah variables now
(ug@suse.de)
- render the cheetah template before passing the XML to the python XML parser
(ug@suse.de)
- made the pathes flexible to avoid problem on other distros than fedora/redhat
(ug@suse.de)
- bugfix (ug@suse.de)
- Merge patch from stable (cristian.ciupitu@yahoo.com)