Create Kickstart Tree Automatically for provisioning – Spacewalk

by | Feb 10, 2016 | Spacewalk (CentOS Satellite Version)

It’s very easy to create a Kickstart tree in Spacewalk and that to in a Automated fashion for provisioning hosts. All you have to do is create a Base Channel for CentOS and then create a Repo and then marry both and then at the time of Repo sync choose the option of “Creating a kickstartable tree”.

To start with Login into your Spacewalk WEBUI.

Create a new Channel by browsing to Channels TAB –> Manage Software Channels –> Create Channel

spacewalk_create_channel_2.4 

And then populate Channel fields as given below.

  • Channel Name:  CentOS 6.7 Base – X86-64
  • Channel Label:   centos67base_x86-64
  • Parent Channel: None
  • Architecture:     x86_64
  • Yum Rep Checksum: sha1
  • Channel Summary: CentOS 6.7 Base – X86-64
  • GPG Key URL: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

Leave all other fields to default values click on Create Channel button to complete.

Then Create a Repo to Link with this Channel by browsing to Channels TAB –> Manage Repositories –> Create Repository

spacewalk_create_repo_2.4 

And then populate Reository fields as given below.

Leave all other fields to default values and then click on Create Repository button to complete.

Now link the Repo to the Channel.

Browse to Channels TAB –> Manage Software Channels –> CentoOS6.7 –> Repositories –> Check centos67-base-x86_64 repo –> Click Update Repositories

spacewalk_repo_sync_2.4

Lastly, start the sync by browsing to Sync and enabling the Create Kickstartable tree option.

spacewalk_kickstart_option_2.4 

That should do the job and the whole sync and kickstart creation will take around 3-5 hours depending on the Internet connection speed.

After the sync is completed successfully you should see the kiskstart tree in the Distribution section of a kiskstart profile ready to use.

spacewalk_distribution_2.4

Any issues please let us know via comments or Contact Us amd we will try to help out with it.

Related Articles….