• About
  • Blog
  • My Services
  • Twitter
  • LinkedIn
  • Email

Author profile

Robbie Cannings

twitter linkedin youtube
16 May 2017

Resolving git submodule path problems

Clone a repo containing submodules In this example I'll clone the terraform-docker-registry repo. The repo contains a few submodules, although the paths (on the git server) have changed, therefore a clone fails. [user@linux_workstation ~]$ git clone -c http.sslVerify=false --recursive ssh://git@git:7999/myproject/terraform-docker-registry.…

16 May 2017 Read More
  • linux
  • git

16 May 2017

Generating CPU load and moving load to different CPU cores

I used this to wake some CPU cores which had been sleeping Start a process In this example we will use the yes command (which ordinarily prints "yes" to the screen repeatedly) [robbie@host ~]$ yes > /dev/null & [1] 76493 Observe current CPU core frequencies [robbie@ host…

16 May 2017 Read More
  • linux

20 Feb 2017

systemd ctrl-alt-del behaviour

I accidentally discovered a feature introduced in systemd, which overrides the default SIGINT behaviour for the ctrl-alt-del (CAD) keystroke sequence. Previously, an entry in /etc/inittab such as the below would be sufficient to prevent an accidental CAD (e.g. when remotely connected to a console and using CAD to…

20 Feb 2017 Read More
  • linux
  • systemd

03 Jan 2017

Submitting dynamic DNS updates in python

I'd been looking for an equivalent to the UNIX nsupdate facility ( https://linux.die.net/man/8/nsupdate) for RFC2136 compliant updates (to a standard Windows or UNIX DNS server), but in python. I found https://github.com/rthalley/dnspython Although the examples were extremely limited (there was…

03 Jan 2017 Read More
  • Python
  • dns

03 Nov 2016

Cobbler ENC for puppet - relies on interface hostname match

The error details [root@mynode ~]# /opt/puppetlabs/bin/puppet agent -t --server puppet_master.mycompany.com --environment production Warning: Unable to fetch my node definition, but the agent run will continue: Warning: Find /puppet/v3/node/?environment=production&configured_environment=produc... resulted in 404 with the message: Not Found:…

03 Nov 2016 Read More
  • cobbler
  • puppet
  • linux

Load more posts
Subscribe!
All content copyright © 2025 • All rights reserved.
Proudly published with Ghost