198
edits
Changes
Created page with '=Installation= ==Automated PXE installation== Perform a automated kickstart installation of LEAP using the current repos. =Configuration= ==Update Repository Information== On …'
=Installation=
==Automated PXE installation==
Perform a automated kickstart installation of LEAP using the current repos.
=Configuration=
==Update Repository Information==
On the builder perform the following configurations
1. edit /etc/yum.repos.d/LEAP.repo
2. disable leap repository:
<pre>enabled=0</pre>
3. disable leap-updates repository:
<pre>enabled=0</pre>
4. add the following repositories:
<pre>
#----- Koji repository
[leap-bb1]
name=LEAP-$releasever - Koji bb1
baseurl=http://blue/kojifiles/repos/bb1/latest/aarch64/
enabled=1
gpgcheck=0
#----- Koji addon repository
[leap-bb1addon]
name=LEAP-$releasever - Koji bb1addon
baseurl=http://blue/kojifiles/repos/bb1addon/latest/aarch64/
enabled=1
gpgcheck=0
</pre>
5. clean the old repository information:
<pre>
sudo yum clean all
</pre>
==Install Builder Packages==
Perform updates on existing packages and install required koji builder packages.
1. yum install koji-builder
2. yum update
==Copy Koji Files==
Copy the koji certificates for the build and the configuration files.
1. From blue, copy /etc/pki/koji/[builder].pem to the [builder]:/etc/pki/koji/
2. From blue, copy /etc/pki/koji/koji_ca_cert.crt to the [builder]:/etc/pki/koji/
3. From blue, copy /etc/kojid/kojid.conf to the [builder]:/etc/kojid/kojid.conf
4. On the [builder], edit the file /etc/kojid/kojid.conf and change the user to the name of the builder
<pre>
user=[builder]
</pre>
5. On the [builder], create the following link setup:
<pre>
</pre>
==Automated PXE installation==
Perform a automated kickstart installation of LEAP using the current repos.
=Configuration=
==Update Repository Information==
On the builder perform the following configurations
1. edit /etc/yum.repos.d/LEAP.repo
2. disable leap repository:
<pre>enabled=0</pre>
3. disable leap-updates repository:
<pre>enabled=0</pre>
4. add the following repositories:
<pre>
#----- Koji repository
[leap-bb1]
name=LEAP-$releasever - Koji bb1
baseurl=http://blue/kojifiles/repos/bb1/latest/aarch64/
enabled=1
gpgcheck=0
#----- Koji addon repository
[leap-bb1addon]
name=LEAP-$releasever - Koji bb1addon
baseurl=http://blue/kojifiles/repos/bb1addon/latest/aarch64/
enabled=1
gpgcheck=0
</pre>
5. clean the old repository information:
<pre>
sudo yum clean all
</pre>
==Install Builder Packages==
Perform updates on existing packages and install required koji builder packages.
1. yum install koji-builder
2. yum update
==Copy Koji Files==
Copy the koji certificates for the build and the configuration files.
1. From blue, copy /etc/pki/koji/[builder].pem to the [builder]:/etc/pki/koji/
2. From blue, copy /etc/pki/koji/koji_ca_cert.crt to the [builder]:/etc/pki/koji/
3. From blue, copy /etc/kojid/kojid.conf to the [builder]:/etc/kojid/kojid.conf
4. On the [builder], edit the file /etc/kojid/kojid.conf and change the user to the name of the builder
<pre>
user=[builder]
</pre>
5. On the [builder], create the following link setup:
<pre>
</pre>