Resetting a Windows guest’s Administrator password with guestfish

Submitted by alvaro.soto on Thu, 10/14/2021 - 23:07

DISCLAIMER: this is not my post is only a copy, in case the original get deleted or whatever, posting on my personal blog get easier for me to find it. You can find the original one in this link at the end of the post. I recently found myself with a Windows guest for which I didn’t have the Administrator password or any way of getting it. Nevertheless, I needed to make configuration changes to it. As I had no need to recover the old password, I was looking for a way to simply replace the Administrator password with one of my choices.

Can't initialize iptables table filter and nat: Permission denied

Submitted by alvaro.soto on Thu, 04/22/2021 - 19:03

The best solution will be to change the container image to have an updated iptables version, but in case you can't do that, follow the next steps.


  • Red Hat OpenShift Container Platform 4.6+


Executing iptables command in an application container fails with the following error.


[root@pod]# iptables -L iptables v1.8.4 (legacy): can't initialize iptables table `filter': Permission denied Perhaps iptables or your kernel needs to be upgraded.

TripleO Container steps

Submitted by alvaro.soto on Sat, 06/27/2020 - 01:43

Container steps

Similar to baremetal, containers are brought up in a stepwise manner. The
current architecture supports bringing up baremetal services alongside of
containers. Therefore, baremetal steps may be required depending on the service
and they are always executed before the corresponding container step.

The list below represents the correlation between the baremetal and the
containers steps. These steps are executed sequentially:


View the list of images on the undercloud’s docker-distribution registry

Submitted by alvaro.soto on Sat, 06/27/2020 - 01:36

To view the list of images on the undercloud’s docker-distribution registry using the following command:

(undercloud) $ curl | jq .repositories[]

To view a list of tags for a specific image, use the skopeo command:

(undercloud) $ curl -s | jq .tags


Get IPMI IP address from OS

Submitted by alvaro.soto on Thu, 11/21/2019 - 22:52

First check that you have ipmitool installed:

[root@lykan ~]# yum provides ipmitool Last metadata expiration check: 0:06:54 ago on Thu 21 Nov 2019 10:39:22 PM CST. ipmitool-1.8.18-10.fc29.x86_64 : Utility for IPMI control Repo : fedora Matched from: Provide : ipmitool = 1.8.18-10.fc29


[root@lykan ~]# ipmitool lan print | grep "IP Address" IP Address Source : Static Address IP Address :

The complete information provided:


Improve user experience using QEMU/KVM with Windows guest

Submitted by alvaro.soto on Tue, 10/01/2019 - 11:32

A lot of sysadmins, SRE o wherever you want to call us, using native Linux in our laptops have the need to use virtual machines running Windows (some support, pentesting tasks, etc), if you are passionate about running periodics updates by now you figure out the main problem of this, if not, you will; the main problem is that on every kernel upgrade you will lose the modules of vmware or virtualbox, the best solution for this is to use QEMU/KVM.


fake_pxe as pm_type in RHOSP13 (TripleO + OpenStack Queens)

Submitted by alvaro.soto on Thu, 05/23/2019 - 02:00

So, in RHOSP13 fake_pxe is being deprecated to change in RHOSP14 for manual-management, the problem is that is just in between the migration, so there is not a clean way to use fake_pxe in RHOSP13. Other change is in the installation of undercloud, the option enabled_drivers is now DEPRECATED an changed by enabled_hardware_types. What now, in order to being able to use fake_pxe as a pm_type first install the undercloud without the options enabled_drivers, only use enabled_hardware_types and add at the end manual-management, like this: