This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
openapi: 3.0.1 | |
info: | |
version: "1.0" | |
title: Image-builder service | |
description: Service that relays image build requests | |
license: | |
name: Apache 2.0 | |
url: https://www.apache.org/licenses/LICENSE-2.0.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ( | |
"bytes" | |
"context" | |
"crypto/sha256" | |
"encoding/hex" | |
"fmt" | |
"io" | |
"mime/multipart" | |
"os" | |
"path/filepath" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM quay.io/fedora/fedora-minimal:40 as builder | |
ARG name=Fedora | |
ARG version=40 | |
ARG arch=aa64 | |
RUN mkdir /b | |
WORKDIR /b | |
# Artifacts from kickstart repository. | |
RUN curl -RLO https://dl.fedoraproject.org/pub/fedora/linux/releases/${version}/Everything/$(uname -m)/os/.treeinfo | |
RUN curl -RLO https://dl.fedoraproject.org/pub/fedora/linux/releases/${version}/Everything/$(uname -m)/os/images/pxeboot/vmlinuz |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openapi": "3.0.3", | |
"info": { | |
"title": "Pulp 3 API", | |
"version": "v3", | |
"description": "Fetch, Upload, Organize, and Distribute Software Packages", | |
"contact": { | |
"name": "Pulp Team", | |
"email": "pulp-list@redhat.com", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%pre | |
cat /sys/class/net/*/address | grep -v 00:00:00:00:00:00 | awk '{print "X-RHN-Provisioning-MAC-" NR ": "unused $0}' > /tmp/pre_headers | |
curl -H @/tmp/pre_headers -k https://satellite/unattended/provision > /tmp/pre_kickstart | |
%end | |
%include /tmp_prekickstart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELinux is preventing daemon-init from execute access on the file /usr/bin/udevadm. | |
SELinux is preventing daemon-init from execute access on the file /usr/sbin/lvm. | |
SELinux is preventing daemon-init from execute_no_trans access on the file /usr/bin/udevadm. | |
SELinux is preventing daemon-init from execute_no_trans access on the file /usr/sbin/lvm. | |
SELinux is preventing daemon-init from using the execmem access on a process. | |
SELinux is preventing lvchange from getattr access on the chr_file /dev/input/mice. | |
SELinux is preventing lvchange from using the sys_admin capability. | |
SELinux is preventing lvchange from write access on the directory lvm. | |
SELinux is preventing lvcreate from add_name access on the directory .lvm_virt.home.lan_13466_252087827. | |
SELinux is preventing lvcreate from add_name access on the directory .lvm_virt.home.lan_13916_735239927. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import os | |
import json | |
import datetime | |
import statistics | |
results = [] | |
dir = "/var/lib/osbuild-composer/jobs/" | |
for fn in os.listdir(dir): | |
f = os.path.join(dir, fn) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting: /home/lzap/go/bin/dlv dap --listen=127.0.0.1:39597 --log-dest=3 from /home/lzap/work/edge-api/cmd/migrate | |
DAP server listening at: 127.0.0.1:39597 | |
Configuration Values: | |
Migration started ... | |
Opening database host=localhost user=postgres dbname=edge port=5432 | |
SELECT version() | |
Postgres information: 'PostgreSQL 15.6 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 13.2.1 20231205 (Red Hat 13.2.1-6), 64-bit' | |
SELECT count(*) FROM pg_indexes WHERE tablename = 'third_party_repos' AND indexname = 'idx_third_party_repos_name' AND schemaname = CURRENT_SCHEMA() | |
Model index ThirdPartyRepo "idx_third_party_repos_name" exists deleting ... | |
DROP INDEX "idx_third_party_repos_name" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"schemaVersion": 2, | |
"mediaType": "application/vnd.oci.image.manifest.v1+json", | |
"artifactType": "application/vnd.unknown.artifact.v1", | |
"config": { | |
"mediaType": "application/vnd.oci.empty.v1+json", | |
"digest": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", | |
"size": 0 | |
}, | |
"layers": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%pre | |
skopeo login foreman-nuc2.example.com -u lzap -p changeme --tls-verify=false | |
skopeo copy docker://foreman-nuc2.example.com/demo-lzap-fedora-bootc:eln oci:/var/tmp/container --tls-verify=false | |
%end | |
text | |
ostreecontainer --url=/var/tmp/container --transport=oci --no-signature-verification | |
user --name lzap --password $6$ptTfOsCpq5XA2qs6$FXMtwoMCQ4EJ698PXqJHuu/LS34WsomG2v1Cy5SzDtges40IaL4N.K2/7We6ertVDlA5tYhYofhNLAbfArGdH1 --iscrypted --groups wheel | |
sshkey --username lzap "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEhnn80ZywmjeBFFOGm+cm+5HUwm62qTVnjKlOdYFLHN lzap+ssh_redhat.com" |
NewerOlder