Merge branch 'master' of code.ungleich.ch:ungleich-public/ungleich-tools
This commit is contained in:
commit
b17100f656
4 changed files with 15 additions and 3 deletions
12
ceph/start-all-monit-osds.sh
Normal file
12
ceph/start-all-monit-osds.sh
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# 2022-02-01
|
||||||
|
|
||||||
|
/etc/init.d/lvm2 start
|
||||||
|
|
||||||
|
|
||||||
|
/opt/ungleich-tools/ceph/ceph-osd-activate-all
|
||||||
|
|
||||||
|
ceph-volume lvm activate --all
|
||||||
|
|
||||||
|
|
||||||
|
for osd in /etc/monit/conf.d/osd.*; do cmd=$(cat $osd | grep "start pro" | sed -e 's/.* = "//' -e 's/".*//'); echo $cmd; ( $cmd & ); done
|
|
@ -7,7 +7,7 @@ set -e
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
# XXX: Handle command-line arguments?
|
# XXX: Handle command-line arguments?
|
||||||
RELEASE=12.1-RELEASE
|
RELEASE=13.0-RELEASE
|
||||||
ARCH=amd64
|
ARCH=amd64
|
||||||
IMAGE_PATH=freebsd-$RELEASE-$(date -I).img.qcow2
|
IMAGE_PATH=freebsd-$RELEASE-$(date -I).img.qcow2
|
||||||
IMAGE_SIZE=10G
|
IMAGE_SIZE=10G
|
||||||
|
|
|
@ -12,7 +12,7 @@ set -x
|
||||||
vigir_ip=$1; shift
|
vigir_ip=$1; shift
|
||||||
|
|
||||||
# openwrt
|
# openwrt
|
||||||
version=21.02.0
|
version=21.02.2
|
||||||
filename=openwrt-${version}-ramips-mt7621-zbtlink_zbt-wg3526-16m-squashfs-sysupgrade.bin
|
filename=openwrt-${version}-ramips-mt7621-zbtlink_zbt-wg3526-16m-squashfs-sysupgrade.bin
|
||||||
# don't care about other/old known_host entries
|
# don't care about other/old known_host entries
|
||||||
ssh-keygen -R ${vigir_ip}
|
ssh-keygen -R ${vigir_ip}
|
||||||
|
|
|
@ -13,7 +13,7 @@ set -x
|
||||||
viwib_ip=$1; shift
|
viwib_ip=$1; shift
|
||||||
|
|
||||||
# openwrt
|
# openwrt
|
||||||
version=21.02.1
|
version=21.02.2
|
||||||
filename=openwrt-${version}-ramips-mt76x8-glinet_gl-mt300n-v2-squashfs-sysupgrade.bin
|
filename=openwrt-${version}-ramips-mt76x8-glinet_gl-mt300n-v2-squashfs-sysupgrade.bin
|
||||||
|
|
||||||
# don't care about other/old known_host entries
|
# don't care about other/old known_host entries
|
||||||
|
|
Loading…
Reference in a new issue