This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 17th, 2012  |  syntax: None  |  size: 3.88 KB  |  views: 34  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. $ cat /etc/cobbler/import_rsync_whitelist
  2. # RHEL/CentOS/SciLinux
  3. + /RedHat/
  4. + /RedHat/RPMS/
  5. + /RedHat/rpms/
  6. + /RedHat/Base/
  7. + /Fedora/
  8. + /Fedora/RPMS/
  9. + /Fedora/rpms/
  10. + /CentOS/
  11. + /CentOS/RPMS/
  12. + /CentOS/rpms/
  13. + /CentOS/
  14. + /Packages/
  15. + /Server/
  16. + /Client/
  17. + /SL/
  18. + /images/
  19. + /images/pxeboot/
  20. + /images/pxeboot/*
  21. + /isolinux/
  22. + /isolinux/*
  23. + */*-release*
  24. - */kernel-debug*.rpm
  25. - */kernel-devel*.rpm
  26. - */kernel-doc*.rpm
  27. - */kernel-headers*.rpm
  28. + */kernel-*.rpm
  29.  
  30. # Exclude everything else
  31. - *
  32.  
  33. $ cobbler import --name=centos5.8 --available-as=http://mirrors.kernel.org/centos/5.8/os/x86_64/ --path=rsync://mirrors.kernel.org/mirrors/centos/5.8/os/x86_64
  34. task started: 2012-04-17_214407_import
  35. task started (id=Media import, time=Tue Apr 17 21:44:07 2012)
  36. Found a redhat compatible signature: CentOS
  37. adding distros
  38. In add_entry(/var/www/cobbler/ks_mirror/centos5.8/images/pxeboot/vmlinuz,/var/www/cobbler/ks_mirror/centos5.8/images/pxeboot/initrd.img)
  39. - Warning : Multiple archs found : ['x86_64', 'i386']
  40. creating new distro: centos5.8-x86_64
  41. creating new profile: centos5.8-x86_64
  42. creating new distro: centos5.8-i386
  43. creating new profile: centos5.8-i386
  44. associating kickstarts
  45. *** TASK COMPLETE ***
  46.  
  47. $ cobbler profile report --name=centos5.8-x86_64
  48. Name                           : centos5.8-x86_64
  49. TFTP Boot Files                : {}
  50. Comment                        :
  51. DHCP Tag                       : default
  52. Distribution                   : centos5.8-x86_64
  53. Enable gPXE?                   : 0
  54. Enable PXE Menu?               : 1
  55. Fetchable Files                : {}
  56. Kernel Options                 : {}
  57. Kernel Options (Post Install)  : {}
  58. Kickstart                      : /var/lib/cobbler/kickstarts/sample.ks
  59. Kickstart Metadata             : {}
  60. Management Classes             : []
  61. Management Parameters          : <<inherit>>
  62. Name Servers                   : []
  63. Name Servers Search Path       : []
  64. Owners                         : ['admin']
  65. Parent Profile                 :
  66. Proxy                          :
  67. Red Hat Management Key         : <<inherit>>
  68. Red Hat Management Server      : <<inherit>>
  69. Repos                          : []
  70. Server Override                : <<inherit>>
  71. Template Files                 : {}
  72. Virt Auto Boot                 : 1
  73. Virt Bridge                    : br0
  74. Virt CPUs                      : 1
  75. Virt Disk Driver Type          : raw
  76. Virt File Size(GB)             : 5
  77. Virt Path                      :
  78. Virt RAM (MB)                  : 512
  79. Virt Type                      : qemu
  80.  
  81. $ find /var/www/cobbler/ks_mirror/centos5.8/ -type f
  82. /var/www/cobbler/ks_mirror/centos5.8/images/pxeboot/vmlinuz
  83. /var/www/cobbler/ks_mirror/centos5.8/images/pxeboot/README
  84. /var/www/cobbler/ks_mirror/centos5.8/images/pxeboot/initrd.img
  85. /var/www/cobbler/ks_mirror/centos5.8/CentOS/kernel-xen-2.6.18-308.el5.x86_64.rpm
  86. /var/www/cobbler/ks_mirror/centos5.8/CentOS/kernel-xen-devel-2.6.18-308.el5.x86_64.rpm
  87. /var/www/cobbler/ks_mirror/centos5.8/CentOS/centos-release-notes-5.8-0.x86_64.rpm
  88. /var/www/cobbler/ks_mirror/centos5.8/CentOS/kernel-2.6.18-308.el5.x86_64.rpm
  89. /var/www/cobbler/ks_mirror/centos5.8/CentOS/centos-release-5-8.el5.centos.x86_64.rpm
  90. /var/www/cobbler/ks_mirror/centos5.8/isolinux/vmlinuz
  91. /var/www/cobbler/ks_mirror/centos5.8/isolinux/isolinux.bin
  92. /var/www/cobbler/ks_mirror/centos5.8/isolinux/options.msg
  93. /var/www/cobbler/ks_mirror/centos5.8/isolinux/rescue.msg
  94. /var/www/cobbler/ks_mirror/centos5.8/isolinux/memtest
  95. /var/www/cobbler/ks_mirror/centos5.8/isolinux/general.msg
  96. /var/www/cobbler/ks_mirror/centos5.8/isolinux/initrd.img
  97. /var/www/cobbler/ks_mirror/centos5.8/isolinux/boot.msg
  98. /var/www/cobbler/ks_mirror/centos5.8/isolinux/splash.lss
  99. /var/www/cobbler/ks_mirror/centos5.8/isolinux/isolinux.cfg
  100. /var/www/cobbler/ks_mirror/centos5.8/isolinux/param.msg
  101.  
  102. $ du -hs /var/www/cobbler/ks_mirror/centos5.8/
  103. 78M     /var/www/cobbler/ks_mirror/centos5.8/
clone this paste RAW Paste Data