Download the miniroot tarball from the Alpine website and then add it to a Docker image:
FROM scratch
ENV ALPINE_ARCH x86_64
ENV ALPINE_VERSION 3.9.1
ADD alpine-minirootfs-${ALPINE_VERSION}-${ALPINE_ARCH}.tar.gz /
CMD ["/bin/sh"]
Download the miniroot tarball from the Alpine website and then add it to a Docker image:
FROM scratch
ENV ALPINE_ARCH x86_64
ENV ALPINE_VERSION 3.9.1
ADD alpine-minirootfs-${ALPINE_VERSION}-${ALPINE_ARCH}.tar.gz /
CMD ["/bin/sh"]
aws:CurrentTime —To check for date/time conditions.aws:EpochTime —To check for date/time conditions using a date in epoch or UNIX time.aws:TokenIssueTime This is the date and time that temporary security credentials were issued and can be used with date/time conditions. (Note: This key is only available in requests that are signed using temporary security credentials. For more information about temporary security credentials, see Temporary Security Credentials.)aws:principaltype —To check the type of principal (user, account, federated user, - etc.) for the current request.aws:SecureTransport —To check whether the request was sent using SSL. For services - that use only SSL, such as Amazon RDS and Amazon Route 53, the aws:SecureTransport - key has no meaning.aws:SourceArn —To check the source of the request, using the Am| #!/bin/bash | |
| #kcpasswordEncode (20220610) Copyright (c) 2021 Joel Bruner (https://github.com/brunerd) | |
| #Licensed under the MIT License | |
| #given a string creates data for /etc/kcpassword | |
| function kcpasswordEncode () ( | |
| #ascii string | |
| thisString="${1}" |
This guide helps to configure the hibernation on a default Fedora35 (also worked fine in previous Fedora34) installation by using a swap file.
My domain is registered on cloudflare.
So go to https://dash.cloudflare.com/profile/api-tokens to either use global key
or better create a new api key for a specific zone with zone dns edit permissions.
Copy that token you just created. Go back to dashboard, click on the domain you want to use
bottom right corner copy the zone id.
Acme Client I have used
https://github.com/acmesh-official/acme.sh
To setup Pushover.net notification in Proxmox VE, go to:
Datacenter -> Notifications -> Notification Targets -> Add -> Webhook
Set up the following fields:
pushover (or whatever you want, note the character limitation)POST, https://api.pushover.net/1/messages.jsonContent-Type -> application/jsonpushover_proxmox-notification-webhook.json file below| #!/bin/bash | |
| ##### | |
| ## Author: [email protected] | |
| ## Dept: Consulting/Infrastructure | |
| ## Detail: Script to check updates and their severity | |
| ## Example: yum_update_report.sh -s Moderate | |
| ##### | |
| function validations () | |
| { |
Just some tips I gathered over time. All in one easily reachable place so I can share it wherever I want.
Please note that unless you see a shebang (#!/...) these code blocks are meant to be copy & pasted.
Some of the steps will not work if you run part of them in a script and copy paste other ones.
| version: "3" | |
| networks: | |
| loki: | |
| services: | |
| loki: | |
| image: grafana/loki:2.4.0 | |
| volumes: | |
| - ./loki:/etc/loki |
| #GET A LIST OF INSTANCES | |
| #/usr/sap/hostctrl/exe/saphostctrl -function Listinstances -format Script | |
| #GET A LIST of databases | |
| saphostctrl -nr 99 -function Listdatabases | |
| # manage a db with the host agent | |
| # /usr/sap/hostctrl/exe/saphostctrl -nr 99 -function StopDatabase -dbname NPL -dbtype ada -user sapadm passwd | |
| #query a db with the host agent |