Build Hugo Extended for Linux ARM

As of today, there is no official build for Hugo extended for Linux ARM. Therefore, we need to build it ourselves. Prerequisite: build-essential package go1.15.3.linux-arm64 compiler export VERSION=0.79.1 curl -O -L https://github.com/gohugoio/hugo/archive/v$VERSION.tar.gz tar -xzf v$VERSION.tar.gz cd hugo-$VERSION go build --tags extended sudo cp hugo /usr/local/bin Hugo Static Site Generator v0.79.1/extended linux/arm64 BuildDate: unknown I built Hugo on Odroid C2, and it took over 10 minutes. I think a better way is to cross build Hugo on an x64 machine; but I haven’t tried it yet....

December 27, 2020 · 1 min · 94 words · kenno

Upgrading oVirt Manager

This upgrade applies to the self-hosted engine of oVirt Manager. We need to first put the oVirt environment to the global maintenance mode. [root@trex ~]# hosted-engine --set-maintenance --mode=global To check the availability of oVirt Manager, run engine-upgrade-check command on the oVirt Manager machine. [root@ovirtm ~]# engine-upgrade-check ...omitted... VERB: Queue package ovirt-engine-setup for update VERB: Building transaction VERB: Transaction built VERB: Transaction Summary: VERB: install : ovirt-engine-setup-plugin-cinderlib-4.4.4.5-1.el8.noarch VERB: install : ovirt-engine-setup-base-4.4.4.5-1.el8.noarch VERB: install : ovirt-engine-setup-4....

December 26, 2020 · 5 min · 867 words · kenno

Configure oVirt Manager to Authenticate Against FreeIPA

This is quick note on how to configure an oVirt Manager or RHV Manager to use the FreeIPA to provide user external authentication. Here’s my servers’ information: IPA server: ipa.angkorian.io (CentOS 8.3.2011) oVirt Hosted-Engine: ovirtm.angkorian.io (CentOS 8.3.2011) IPA user: ovirtadmin First, open SSH connection to ovirtm as root and ensure that ovirt-engine-extension-aaa-ldap-setup package is installed. Here is a tip to figure out the name of this package - I’d search for ovirt*ldap....

December 26, 2020 · 4 min · 760 words · kenno

Backing Up a Self Hosted Engine Ovirt

We can create a fullback of oVirt engine without stopping the oVirt infrastructure using the ovirt-backup command. To do this, ssh to the oVirt hosted-engine and specify this backup scope, the name of backup file and the name of the log file. [root@ovirtm ~]# engine-backup --scope=all --mode=backup --file=ovirtm-backup_20201223.tgz --log=backup_20201223.log Start of engine-backup with mode 'backup' scope: all archive file: ovirtm-backup_20201223.tgz log file: backup_20201223.log Backing up: Notifying engine - Files - Engine database 'engine' - DWH database 'ovirt_engine_history' Packing into file 'ovirtm-backup_20201223....

December 23, 2020 · 1 min · 103 words · kenno

Line Continuation in PowerShell

Usually on bash command-line, the line break character is \. So when I first started to use PowerShell, the \ didn’t work for me. It turned out that the line-break or line continuation in PowerShell is the back tick: `. Here is an exmaple of PowerShell command to create a DNS delegation in one line: PS C:\ Add-DnsServerZoneDelegation -Name "example.net" -ChildZoneName "lab.example.net." -NameServer "idm.lab.example.net." -IPAddress 172.25.250.8 -PassThru -Verbose And we can break it to mutiple line as:...

December 23, 2020 · 1 min · 99 words · kenno