How to resize a qcow2 disk image on Linux
This example takes olddisk.qcow2
and resizes it into newdisk.qcow2
,
extending one of the guest's partitions to fill the extra space.
apiVersion: cert-manager.io/v1 | |
kind: Issuer | |
metadata: | |
name: letsencrypt | |
spec: | |
acme: | |
server: https://acme-v02.api.letsencrypt.org/directory | |
email: "swghosh@redhat.com" | |
privateKeySecretRef: | |
name: letsencrypt |
This example takes olddisk.qcow2
and resizes it into newdisk.qcow2
,
extending one of the guest's partitions to fill the extra space.
olddisk.qcow2
#!/usr/bin/env bash | |
set -eou pipefail | |
# Set these variables | |
# cri-o repo dir- path to cri-o source | |
CRIO_DIR=~/repositories/cri-o | |
# ignition dir- output directory for generated ignition config | |
IGNITION_OUT_DIR=~/Desktop | |
# evented pleg- use 0/1 as it's value depending upon whether crio binary should be started with --evented_pleg flag or not |
#!/usr/bin/env bash | |
export COLOR_NC='\e[0m' # No Color | |
export COLOR_BLACK='\e[0;30m' | |
export COLOR_GRAY='\e[1;30m' | |
export COLOR_RED='\e[0;31m' | |
export COLOR_LIGHT_RED='\e[1;31m' | |
export COLOR_GREEN='\e[0;32m' | |
export COLOR_LIGHT_GREEN='\e[1;32m' | |
export COLOR_BROWN='\e[0;33m' |
From: https://ask.fedoraproject.org/en/question/115753/how-to-configure-xrdp-on-fedora-27/
dnf install xrdp
systemctl start xrdp
Homebrew build logs for python@3.8 on macOS 11.0.1 | |
Build date: 2020-12-03 20:04:11 |
Homebrew build logs for python@3.9 on macOS 11.0.1 | |
Build date: 2020-11-30 02:46:23 |
#!/usr/bin/env python3 | |
""" | |
Construct GoogLeNet incarnation of the Inception network using Keras. | |
""" | |
from tensorflow.keras.layers import Conv2D, MaxPooling2D, AveragePooling2D, GlobalAveragePooling2D | |
from tensorflow.keras.layers import Input, Dense, Dropout, Concatenate, Flatten | |
from tensorflow.nn import local_response_normalization | |
from tensorflow.keras.regularizers import l2 |