Skip to content

Instantly share code, notes, and snippets.

I had never tried this before, but my guess was confirmed that at least my initial little test "just worked".
Booted a VM from the 8.2 media & appended inst.ks=http://192.168.122.1/ostree.ks
ostree.ks (Ben's half-assed kickstart)
lang en_US.UTF-8
keyboard us
timezone America/New_York
zerombr
clearpart --all --initlabel
autopart
/data/src/cockpit/pkg/docker/details.js:210:17: Misleading line break before '?'; readers may interpret this as an expression boundary.
make[2]: *** [Makefile:8808: dist/docker/stamp] Error 1
make[2]: *** Waiting for unfinished jobs....
/data/src/cockpit/pkg/networkmanager/interfaces.js:1800:33: Misleading line break before '?'; readers may interpret this as an expression boundary.
/data/src/cockpit/pkg/networkmanager/interfaces.js:2579:29: Misleading line break before '?'; readers may interpret this as an expression boundary.
/data/src/cockpit/pkg/networkmanager/interfaces.js:2999:45: Misleading line break before '?'; readers may interpret this as an expression boundary.
/data/src/cockpit/pkg/networkmanager/interfaces.js:3287:52: Misleading line break before '?'; readers may interpret this as an expression boundary.
/data/src/cockpit/pkg/networkmanager/interfaces.js:3783:42: Misleading line break before '?'; readers may interpret this as an expression boundary.
/data/src/cockpit/pkg/networkmanager/interfaces
@stefwalter
stefwalter / gist:f7b93699e0336071099b1c9aa3cc1bef
Created October 18, 2018 14:24
ProxyCommand use socketpair
diff --git a/src/socket.c b/src/socket.c
index 2c72566d..ede1e5d0 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -897,33 +897,26 @@ void ssh_execute_command(const char *command, socket_t in, socket_t out){
*/
int ssh_socket_connect_proxycommand(ssh_socket s, const char *command){
- socket_t in_pipe[2];
- socket_t out_pipe[2];
PASS: dist/base1/test-location.html 35 - encode: encode({"path":["p"],"option...
PASS: dist/base1/test-location.html 36 - encode: encode({"path":["p"],"option...
PASS: dist/base1/test-location.html 37 - encode: encode({"path":["p"],"option...
PASS: dist/base1/test-location.html 38 - roundtrip: roundtrip({"path":["path"...
> log: ok 40 - roundtrip: roundtrip({"path":["/=()?","$%&/"],"options":{"":"=$&%","b":"=2%34"}})
Traceback (most recent call last):
File "./test/common/tap-cdp", line 76, in <module>
for t, message in cdp.read_log():
File "/tmp/source/test/common/cdp.py", line 259, in read_log
messages = self.command("waitLog()")
FLAKE 0.754686 1 7139 testBasic (check_machines.TestMachines) verify/fedora-26 http://fedorapeople.org/groups/cockpit/logs/pull-7139-20170630-132020-06e11c39-verify-fedora-26/log
FLAKE 0.755204 1 7076 testBasic (check_apps.TestApps) verify/ubuntu-stable http://fedorapeople.org/groups/cockpit/logs/pull-7076-20170720-125656-a60fa0d2-verify-ubuntu-stable/log
FLAKE 0.758467 1 7139 testExternalConsole (check_machines.TestMachines) verify/fedora-26 http://fedorapeople.org/groups/cockpit/logs/pull-7139-20170630-132020-06e11c39-verify-fedora-26/log
FLAKE 0.762807 1 7139 testExternalConsole (check_machines.TestMachines) verify/rhel-7 http://fedorapeople.org/groups/cockpit/logs/pull-7139-20170726-130202-06a079ce-verify-rhel-7/log
FLAKE 0.780703 1 7076 testBasic (check_apps.TestApps) verify/debian-testing http://fedorapeople.org/groups/cockpit/logs/pull-7076-20170720-132424-a60fa0d2-verify-debian-testing/log
FLAKE 0.783702 1 7139 testDisks (check_machines.TestMachines) verify/fedora-26 http://fedorapeople.or
+ systemctl stop libvirtd
-> wait('ph_is_present("#app .blank-slate-pf")')
> Unable to parse event, ignoring: error: Disconnected from qemu:///system due to end of file
> Unable to parse event, ignoring: events received: 8
> Unable to parse event, ignoring: error: internal error: client socket is closed
> Unable to parse event, ignoring:
> error: failed to connect to the hypervisor
error: End of file while reading data: Input/output error
> virsh event failed: virsh exited with code 1
[root@localhost ~]# yum install docker
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package docker.x86_64 2:1.12.6-16.el7 will be installed
--> Processing Dependency: docker-client = 2:1.12.6-16.el7 for package: 2:docker-1.12.6-16.el7.x86_64
--> Processing Dependency: docker-common = 2:1.12.6-16.el7 for package: 2:docker-1.12.6-16.el7.x86_64
--> Processing Dependency: docker-rhel-push-plugin = 2:1.12.6-16.el7 for package: 2:docker-1.12.6-16.el7.x86_64
--> Processing Dependency: container-selinux >= 2:2.10-2 for package: 2:docker-1.12.6-16.el7.x86_64
--> Processing Dependency: oci-register-machine >= 1:0-3.10 for package: 2:docker-1.12.6-16.el7.x86_64
dpkg-source -b cockpit-138.x
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building cockpit using existing ./cockpit_138.x.orig.tar.gz
dpkg-source: info: building cockpit in cockpit_138.x-1.debian.tar.xz
dpkg-source: info: building cockpit in cockpit_138.x-1.dsc
dpkg-genbuildinfo --build=source
dpkg-genchanges --build=source >../cockpit_138.x-1_source.changes
dpkg-genchanges: info: including full source code in upload
dpkg-source --after-build cockpit-138.x
dpkg-buildpackage: info: full upload (original source is included)
+ pbuilder build --buildresult /var/tmp/build-results --logfile /var/tmp/build-results/build.log cockpit_138.x-1.dsc
I: Logging to /var/tmp/build-results/build.log
I: using fakeroot in build.
W: pbuilder: network will not be disabled during build!
I: Current time: Thu Apr 20 02:31:54 EDT 2017
I: pbuilder-time-stamp: 1492669914
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/base.tgz]
I: copying local configuration
I: mounting /proc filesystem
[stef@falcon cockpituous]$ gvim Makefile
[stef@falcon cockpituous]$ sudo docker run -ti fedora /bin/bash
[root@b39f705b8e4e /]# mknod /dev/kvm c 10 232
[root@b39f705b8e4e /]# chmod 666 /dev/kvm
[root@b39f705b8e4e /]# ls -l /dev/kvm
crw-rw-rw-. 1 root root 10, 232 Mar 21 14:35 /dev/kvm