git config --global http.sslVerify false
``
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
helmOperator: | |
create: false | |
git: | |
url: "[email protected]:lovellfelix/homelab-k3s.git" | |
branch: master | |
path: deployments | |
image: | |
repository: raspbernetes/flux | |
tag: 1.18.0 | |
registry: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const http = require('http'); | |
const config = require('./config'); | |
const log = require('./log'); | |
const constants = require('./constants'); | |
const options = { | |
host: 'localhost', | |
port: config.httpPort, | |
timeout: 2000, | |
method: 'GET', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const http = require('http'); | |
const config = require('./config'); | |
const log = require('./log'); | |
const constants = require('./constants'); | |
const options = { | |
host: 'localhost', | |
port: config.httpPort, | |
timeout: 2000, | |
method: 'GET', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#enable arm 64 and set graphic memory | |
gpu_mem=16 | |
arm_64bit=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
errorExit() { | |
echo "*** $*" 1>&2 | |
exit 1 | |
} | |
curl --silent --max-time 2 --insecure https://localhost:6443/ -o /dev/null || errorExit "Error GET https://localhost:6443/" | |
if ip addr | grep -q VIRTUAL_IP; then | |
curl --silent --max-time 2 --insecure https://VIRTUAL_IP:6443/ -o /dev/null || errorExit "Error GET https://VIRTUAL_IP:6443/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Verfiy opensssl is installed | |
rpm -qa | grep -i openssl | |
#If it's not installed | |
yum install openssl openssl-devel | |
#Generate RSA key | |
openssl genrsa -out domain.com.key 2048 | |
#Create CSR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# | |
# | |
# | |
ls -R `pwd` | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# variables for vault name, timestamp, and output file | |
VAULT="sandbox-02" | |
NOW=$(date +%s) | |
IDFILE="archive-ids-${NOW}.json" | |
# make sure we can write the output file | |
touch $IDFILE || exit 1 | |
# upload all tar files in forbackup directory, writing |
NewerOlder