-
SSH into proxmox node and become root user. Run the following commands to download extra software dependencies we'll need.
apt update apt install -y libsasl2-modules mailutils
-
Enable 2FA for the gmail account that will be used by going to security settings
#format = """ | |
#[╭─user───❯](bold blue) $username | |
#[┣─system─❯](bold yellow) $hostname | |
#[┣─project❯](bold red) $directory$rust$git_branch$git_status$package$golang$terraform$docker_context$python$docker_context$nodejs | |
#[╰─cmd────❯](bold green) | |
#""" | |
[username] | |
style_user = "green bold" | |
style_root = "red bold" | |
format = "[$user]($style) " |
Moved to https://virtualize.link/secure/
#!/usr/bin/env bash | |
mountSnapshots () { | |
mkdir -p "/mnt/$ZFSSNAPSHOTNAME" | |
mount -t zfs "$ZFSSNAPSHOTBASE@$ZFSSNAPSHOTNAME" "/mnt/$ZFSSNAPSHOTNAME" | |
while read -r line | |
do | |
MOUNTPATH=$(echo "$line" | sed "s/$ESCAPEDZFSSNAPSHOTBASE\///" | sed "s/@$ZFSSNAPSHOTNAME//") |
#!/usr/bin/env bash | |
if [ $# -eq 2 ] | |
then | |
BASENAME=$(basename $1) | |
RUNNAME=rclone-$BASENAME | |
ZFSSNAPSHOTBASE=$(zfs list | grep "$BASENAME" | grep -v "$BASENAME/" | awk '{print $1}') | |
PIDFILE=/var/lock/$RUNNAME.pid | |
ISOTIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ") | |
YEAR=$(date -u +"%Y") | |
ZFSSNAPSHOTNAME="rclone" |
from states import LockedState | |
class SimpleDevice(object): | |
""" | |
A simple state machine that mimics the functionality of a device from a | |
high level. | |
""" | |
def __init__(self): | |
""" Initialize the components. """ |
#!/bin/sh | |
FLASH_TIME=$(opkg info busybox | grep '^Installed-Time: ') | |
for i in $(opkg list-installed | cut -d' ' -f1) | |
do | |
if [ "$(opkg info $i | grep '^Installed-Time: ')" != "$FLASH_TIME" ] | |
then | |
echo $i | |
fi |
There aren't many tutorials about this, the only tutorials I've found were about passing through entire PCIe cards to VMs, or refered to old ESXI versions (below 6.5) that used a more comprehensive desktop client instead of the web app. In v6.5, the web app was introduced and the desktop client was deprecated. You used to be able to setup RDMs in the desktop client, but with the introduction of the web console, this is no longer the case. This tutorial shows you how to pass SATA HDDs to the virtual machine on VMWare ESXI 6.5. This tutorial is partially based on VMWare's own KB and the now deprecated Forza IT blog post.
There is now an option while editing your VM's settings to add a New raw disk
when you click `Add ha
#based on http://www.forshee.me/2016/03/02/ubiquiti-edgerouter-lite-setup-part-2-firewall-setup.html | |
configure | |
edit firewall name allow-est-drop-inv | |
set default-action drop | |
set enable-default-log | |
set rule 1 action accept | |
set rule 1 state established enable | |
set rule 1 state related enable | |
set rule 2 action drop |