Skip to content

Instantly share code, notes, and snippets.

View zjhuntin's full-sized avatar

Zachary Huntington-Meath zjhuntin

  • Red Hat
  • United States
View GitHub Profile
PROCESSING katello-3.6-thirdparty-candlepin-rhel7
[noop] kkoji clone-tag --all katello-thirdparty-candlepin-rhel7 katello-3.6-thirdparty-candlepin-rhel7
PROCESSING katello-3.6-thirdparty-pulp-rhel7
[noop] kkoji clone-tag --all katello-thirdparty-pulp-rhel7 katello-3.6-thirdparty-pulp-rhel7
PROCESSING katello-3.6-thirdparty-pulp-rhel6
[noop] kkoji clone-tag --all katello-thirdparty-pulp-rhel6 katello-3.6-thirdparty-pulp-rhel6
---
- hosts: all
become: true
vars:
vagrant_libvirt: true
vagrant_version: 2.1.1
roles:
- role: vagrant
- hosts: all
---
- hosts: all
become: true
vars:
vagrant_libvirt: true
vagrant_version: 2.1.1
roles:
- role: libvirt
- role: vagrant
---
- hosts: all
become: true
vars:
vagrant_libvirt: true
vagrant_version: 2.1.1
vagrant_scp: false
roles:
- role: libvirt
- role: vagrant
This is a basic example of using SOCKS.
From the computer you want to browse on you'll make an ssh connection to the computer you want to browse from.
In this example it'll be my laptop connecting to my desktop.
Run: ssh -D <port, I use 10000> <user>@<hostname of desktop>
Now, in a browser you don't normally use (I'm using firefox), go to network proxy.
Set Manual porxy configuration
6a7
> %global selinux_policyver %(%{__sed} -e 's,.*selinux-policy-\\([^/]*\\)/.*,\\1,' /usr/share/selinux/devel/policyhelp || echo 0.0.0)
55a57
> BuildRequires: /usr/share/selinux/devel/policyhelp
57a60,63
> %{!?_selinux_policy_version: %global _selinux_policy_version %(sed -e 's,.*selinux-policy-\\([^/]*\\)/.*,\\1,' /usr/share/selinux/devel/policyhelp 2>/dev/null)}
> %if "%{_selinux_policy_version}" != ""
> Requires: selinux-policy >= %{_selinux_policy_version}
> %endif