Skip to content

Instantly share code, notes, and snippets.

View SteaceP's full-sized avatar

Steacy Paquette SteaceP

View GitHub Profile
apiVersion: v1
kind: PersistentVolume
metadata:
name: ceph-pv
spec:
capacity:
storage: 10Gi
accessModes:
- ReadWriteOnce
rbd:
apiVersion: v1
kind: Secret
metadata:
name: ceph-admin-secret
namespace: kube-system
type: "kubernetes.io/rbd"
data:
# ceph auth get-key client.admin | base64
key: <your output from above>
@SteaceP
SteaceP / cockpitNMrepair.sh
Created December 17, 2020 06:48
Repair Cockpit Updates On Ubuntu Server 20.04
#!/usr/bin/env bash
# netplan2NM.sh
# Ubuntu server 20.04 Change from netplan to NetworkManager for all interfaces
echo 'Changing netplan to NetworkManager on all interfaces'
# backup existing yaml file
cd /etc/netplan
cp 01-netcfg.yaml 01-netcfg.yaml.BAK