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
Jan 8 21:30:26 centos9-katello-devel-stable pulpcore-api[3002]: File "/usr/lib/python3.11/site-packages/pulp_container/app/registry_api.py", line 680, in get | |
Jan 8 21:30:26 centos9-katello-devel-stable pulpcore-api[3002]: response = super().get(request) | |
Jan 8 21:30:26 centos9-katello-devel-stable pulpcore-api[3002]: ^^^^^^^^^^^^^^^^^^^^ | |
Jan 8 21:30:26 centos9-katello-devel-stable pulpcore-api[3002]: File "/usr/lib/python3.11/site-packages/pulp_container/app/registry_api.py", line 639, in get | |
Jan 8 21:30:26 centos9-katello-devel-stable pulpcore-api[3002]: with storage.open(manifest.config_blob._artifacts.get().file.name) as file: | |
Jan 8 21:30:26 centos9-katello-devel-stable pulpcore-api[3002]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
Jan 8 21:30:26 centos9-katello-devel-stable pulpcore-api[3002]: File "/usr/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method | |
Jan 8 21:30:26 centos9-katello-devel-stable pulpcore-api[3002]: retur |
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
{ | |
"bootc.booted.image": " quay.io/centos-bootc/centos-bootc:stream10", | |
"bootc.booted.version": "stream10.20241202.0", | |
"bootc.booted.digest": "sha256:54256a998f0c62e16f3927c82b570f90bd8449a52e03daabd5fd16d6419fd572", | |
"bootc.staged.image": null, | |
"bootc.staged.version": null, | |
"bootc.staged.digest": null, | |
"bootc.rollback.image": "quay.io/centos-bootc/centos-bootc:stream10", | |
"bootc.rollback.version": "stream10.20241107.0", | |
"bootc.rollback.digest": "sha256:9ed49e9b189f5dae5a01ea9abdcef0884616300b565d32061aea619f2e916be3", |
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
uuid=$(uuidgen) | |
short=$(hostname -s) | |
domain=YOUR.DOMAIN | |
echo "{\"dmi.system.uuid\": \"${uuid}\"}" > /etc/rhsm/facts/uuid.facts | |
hostnamectl set-hostname ${short}.${uuid%%-*}.${domain} | |
subscription-manager clean | |
subscription-manager register --activationkey YOUR_AK --org YOUR_ORG |
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
BEAKER_SETFILE=centos8-64 BEAKER_HYPERVISOR=vagrant_libvirt BEAKER_PROVISION=yes BEAKER_DESTROY=no bundle exec rspec spec/acceptance/my_test_spec.rb | |
#BEAKER_DESTROY=no leaves the VM running | |
#BEAKER_PROVISION=no allows for VM reuse |
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
https://gcr.io | |
google-containers/busybox |
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
cd /home/vagrant/foreman && source .env && BIND=0.0.0.0 bundle exec puma -w 3 -p $PORT --preload |
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
source ~/foreman/.env | |
BIND=0.0.0.0 bundle exec puma -w 1 -t 1 -p $PORT --preload |
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
Dev env tips | |
- Start rails in one terminal: bundle exec foreman start rails | |
- Start webpack in another terminal: bundle exec foreman start webpack | |
- Debug a file: | |
1) Edit ~/foreman/.env to ensure puma is running with a single CPU | |
2) Restart your server | |
3) Insert `binding.pry` where you need to debug |
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
libvirtd | |
virtnetworkd |
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/ruby | |
require 'webrick' | |
require 'webrick/httpproxy' | |
proxy = WEBrick::HTTPProxyServer.new Port: 8777 | |
trap 'INT' do proxy.shutdown end | |
trap 'TERM' do proxy.shutdown end | |
proxy.start |
NewerOlder