Whilst trying ( and failing ) to configure my RHEL VM to use my company's internal RHN mirror, I was running the following command: -
wget -qO- https://hostname.domain.com/pub/bootstrap/bootstrap-rtp.sh | /bin/bash
Now you can see the obvious flaw, right ??
Yes, you guessed it - I'd copied the command verbatim from a website, and included the three leading spaces, which meant that the command did absolutely nowt.
Therefore, the follow-up command: -
rhnreg_ks --force --username=username --password=password
defaulted to the original settings, and went off to the Red Hat site rather than my company's mirror.
I'd run this many, many times before I realised. Do I feel silly ?
Doh!
Geeking in technology since 1985, with IBM Development, focused upon Docker and Kubernetes on the IBM Z LinuxONE platform In the words of Dr Cathy Ryan, "If you don't write it down, it never happened". To paraphrase one of my clients, "Every day is a school day". I do, I learn, I share. The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions. Remember, YMMV https://infosec.exchange/@davehay
Subscribe to:
Post Comments (Atom)
Note to self - use kubectl to query images in a pod or deployment
In both cases, we use JSON ... For a deployment, we can do this: - kubectl get deployment foobar --namespace snafu --output jsonpath="{...
-
Why oh why do I forget this ? Running this command : - ldapsearch -h ad2012.uk.ibm.com -p 389 -D CN=bpmbind,CN=Users,DC=uk,DC=ibm,DC=com -w...
-
Error "ldap_sasl_interactive_bind_s: Unknown authentication method (-6)" on a LDAPSearch command ...Whilst building my mega Connections / Domino / Portal / Quickr / Sametime / WCM environment recently, I was using the LDAPSearch command tha...
-
Whilst building a new "vanilla" Kubernetes 1.25.4 cluster, I'd started the kubelet service via: - systemctl start kubelet.se...
No comments:
Post a Comment