Skip to content

Instantly share code, notes, and snippets.

View dav1x's full-sized avatar

Davis Phillips dav1x

  • Red Hat
  • Austin, TX
View GitHub Profile
#!/usr/bin/env python
# vim: sw=4 ts=4 et
# Davis Phillips [email protected]
# All all OCP imagestreams from registry.access.redhat.com to local sat6 installation
import os, argparse, socket, getpass, subprocess
class ocpSat6(object):
__name__ = 'ocpSat6'
[root@sat6 ~]# hammer --server localhost organization list
Error: undefined method `request' for #<String:0x00000000c99fc8>
[root@sat6 ~]# hammer -s localhost organization list
Error: undefined method `request' for #<String:0x000000049fb998>
[root@sat6 ~]# hammer -s 10.19.114.2 organization list
Error: undefined method `request' for #<String:0x000000022a5178>
[root@sat6 ~]# hammer -s sat6.e2e.bos.redhat.com organization list
Error: undefined method `request' for #<String:0x00000003fd4f78>
Using Satellite 6 Server for a disconnect Openshift Container Platform install
OpenShift uses the following containers for its base installation:
openshift3/ose-haproxy-router
openshift3/registry-console
openshift3/ose-deployer
openshift3/ose-pod
openshift3/ose-docker-registry
[OSEv3:children]
masters
nodes
glusterfs_registry
glusterfs
vcenter_host=10.19.114.25
[email protected]
vcenter_password=100Root-
vcenter_folder=ocp36
vcenter_datastore=ose3-vmware-prod
vcenter_cluster=devel
vcenter_resource_pool=ocp36
vcenter_datacenter=Boston
dns_zone=vcenter.e2e.bos.redhat.com
interface Gi1/0/1
switchport access vlan 183
exit
!
interface Gi1/0/2
switchport access vlan 183
exit
!
interface Gi1/0/3
--More-- or (q)uit
interface Gi1/0/1
switchport access vlan 183
exit
!
interface Gi1/0/2
switchport access vlan 183
exit
!
interface Gi1/0/3
--More-- or (q)uit
---
- block:
- name: be sure all pre-req packages are installed
yum: name={{item}} state=installed
with_items:
- open-vm-tools
- PyYAML
- perl
- net-tools
- chrony
Linux Interview Questions
Tech Level 1
* One or more ways to add a user to a group.
* Reconfigure hostname
* Determine networking information
* Create a virtual interface?
* Define new resolver
* Outgoing mail relay
* Determine operating system version
* How do you get the network path from here to there?
juniper-vc0 Seconds: 18 Time: 09:11:18
Interface Link Input packets (pps) Output packets (pps)
vcp-255/2/0 Up 45089328 50190651
vcp-255/2/1 Up 55175351 50212182
vcp-255/2/2 Up 0 116052758
vcp-255/2/3 Up 53943464 54021580
xe-0/0/0 Up 2762942629 (6) 36828292384 (47)
xe-0/0/1 Up 5636261784 (37) 39518591337 (53)
xe-0/0/2 Up 3912375 (0) 35208779032 (52)