Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linuxops
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
linuxsupport
websites
linuxops
Commits
b7aaafe1
Verified
Commit
b7aaafe1
authored
4 years ago
by
Alex Iribarren
Browse files
Options
Downloads
Patches
Plain Diff
Add info about AIMS2
parent
728f3908
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#2346000
passed
4 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/koji/bootstrapping.md
+52
-3
52 additions, 3 deletions
docs/koji/bootstrapping.md
with
52 additions
and
3 deletions
docs/koji/bootstrapping.md
+
52
−
3
View file @
b7aaafe1
...
...
@@ -486,12 +486,63 @@ Before you can actually build the cloud image, you should prepare the
[
imageci
](
https://gitlab.cern.ch/linuxsupport/testing/image-ci
)
to test it. You'll
have to do
[
something like this
](
https://gitlab.cern.ch/linuxsupport/testing/image-ci/-/commit/69de3bf3d46d729f709a34ffff76609511e5d086
)
.
## Build the image
##
#
Build the image
Now that you have the testing infrastructure set up and all the necessary
RPMs built, you can prepare a kickstart template for your new distro. You'll
need to do
[
something like this
](
https://gitlab.cern.ch/linuxsupport/koji-image-build/-/commit/622b3632d9f1e6e89705e77694246cbfc5b2c068
)
.
## Upload the AIMS images
You could have done this earlier, but now's as good a time as any. You have to
upload an
`vmlinuz`
and
`initrd.img`
of your new distro to AIMS2:
```
bash
[
aiadm10] ~
>
wget http://linuxsoft.cern.ch/cern/centos/s8-testing/BaseOS/x86_64/os/images/pxeboot/
{
vmlinuz,initrd.img
}
--2021-02-24
18:49:15-- http://linuxsoft.cern.ch/cern/centos/s8-testing/BaseOS/x86_64/os/images/pxeboot/vmlinuz
Resolving linuxsoft.cern.ch
(
linuxsoft.cern.ch
)
... 2001:1458:d00:2e::100:3e3, 2001:1458:d00:3a::100:1ec, 2001:1458:d00:13::451, ...
Connecting to linuxsoft.cern.ch
(
linuxsoft.cern.ch
)
|2001:1458:d00:2e::100:3e3|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 9936008
(
9.5M
)
Saving to: ‘vmlinuz’
vmlinuz 100%[
================================================================>]
9.48M 32.3MB/s
in
0.3s
2021-02-24 18:49:16
(
32.3 MB/s
)
- ‘vmlinuz’ saved
[
9936008/9936008]
--2021-02-24
18:49:16-- http://linuxsoft.cern.ch/cern/centos/s8-testing/BaseOS/x86_64/os/images/pxeboot/initrd.img
Reusing existing connection to
[
linuxsoft.cern.ch]:80.
HTTP request sent, awaiting response... 200 OK
Length: 74289512
(
71M
)
[
application/octet-stream]
Saving to: ‘initrd.img’
initrd.img 100%[
================================================================>]
70.85M 101MB/s
in
0.7s
2021-02-24 18:49:21
(
101 MB/s
)
- ‘initrd.img’ saved
[
74289512/74289512]
FINISHED
--2021-02-24
18:49:21--
Total wall clock
time
: 6.4s
Downloaded: 2 files, 80M
in
1.0s
(
80.5 MB/s
)
[
aiadm10] ~
>
aims2 addimg
--name
CS8_X86_64_TEST
--arch
x86_64
--vmlinuz
vmlinuz
--initrd
initrd.img
--description
"CENTOS STREAM 8 (20210224) X86_64 TEST"
--uefi
Uploading to server:
vmlinuz
file: vmlinuz
md5: cc5678f48665e361f2bba7df10530716
size: 9936008
initrd
file: initrd.img
md5: 35c0aaa6f80c34a95a24d86f56195367
size: 74289512
(
this will take 20-30 seconds
for
typical linux vmlinuz/initrd sizes
)
100.0%
wait
...
vmlinuz upload completed
100.0%
initrd upload completed
Image CS8_X86_64_TEST uploaded to aims.
```
For more details, consult the
[
AIMS2 documentation
](
/aims2/addinganewimage/
)
.
## Start getting Puppet ready
You'll need to create a
[
new tag
](
https://gitlab.cern.ch/linuxsupport/lxdist-build/-/commit/128424d237e8121864d9e1cf826ed5911a43d4a9
)
...
...
@@ -504,5 +555,3 @@ There will be other basic Koji tags that they'll probably need at this point, su
as
`collectd*`
,
`monit*`
and
`hw*`
, so now is a good time to create them.
## Build OpenAFS Kernel Modules
## Upload the AIMS images
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment