- Using a ready-to-use Ubuntu image
rem 0 - Disable SmartScreen Filter in Microsoft Edge / 1 - Enable | |
reg add "HKCU\Software\Microsoft\Edge\SmartScreenEnabled" /ve /t REG_DWORD /d "0" /f | |
rem 0 - Disable SmartScreen PUA in Microsoft Edge / 1 - Enable | |
reg add "HKCU\Software\Microsoft\Edge\SmartScreenPuaEnabled" /ve /t REG_DWORD /d "0" /f | |
rem 1 - Enable Microsoft Defender SmartScreen DNS requests | |
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "SmartScreenDnsRequestsEnabled" /t REG_DWORD /d "0" /f |
#!/bin/bash | |
# Adapted from https://gist.github.com/rechner/a176be6ec88432e7d8c5ee2f7ab37ccd | |
# This script assumes the local machine has already been joined to your FreeIPA domain with ipa-client-install | |
# DOMAIN should be set to your FreeIPA-controlled domain, not the FQDN of the FreeIPA server | |
# NODE should be the short hostname of your Proxmox node, not a FQDN | |
DOMAIN=domain.tld | |
NODE=pve1 | |
KEY=/etc/pve/nodes/$NODE/pve-ssl.key | |
PEM=/etc/pve/nodes/$NODE/pve-ssl.pem |
#!/usr/bin/env bash | |
# Setup script environment | |
set -o errexit #Exit immediately if a pipeline returns a non-zero status | |
set -o errtrace #Trap ERR from shell functions, command substitutions, and commands from subshell | |
set -o nounset #Treat unset variables as an error | |
set -o pipefail #Pipe will exit with last non-zero status if applicable | |
shopt -s expand_aliases | |
alias die='EXIT=$? LINE=$LINENO error_exit' | |
trap die ERR |
#!/usr/bin/env bash | |
# Creating Tumbleweed Template | |
wget https://download.opensuse.org/tumbleweed/appliances/openSUSE-Tumbleweed-JeOS.x86_64-kvm-and-xen.qcow2 | |
qm create 9000 --name tumbleweed --cores 2 --memory 4096 --net0 virtio,bridge=vmbr0 | |
qm importdisk 9000 openSUSE-Tumbleweed-JeOS.x86_64-kvm-and-xen.qcow2 local-lvm | |
qm set 9000 --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-9000-disk-0 | |
qm set 9000 --boot c --bootdisk virtio0 | |
qm set 9000 --agent 1 | |
qm set 9000 --vga qxl |
THIS ARE MY NOTES OF BUILDING AN INSTALLING XORGXRDP AND XRDP WITH GPU ACCELERATION | |
TESTED ON UBUNTU 20.04.2 with amdgpu (all-open variant) driver and FirePro W4100 GPU | |
-- Build XorgXrdp with GPU acceleration ("script" - to be adjusted to your needs) : -- | |
## << BUILD AND INSTALL SCRIPT START >> ## | |
#!/bin/bash | |
# Install Latest XRDP with XORGXRDP | |
# README |
Proxmox VE 6.x release includes a feature to add custom cloud-init configs. Unfortunately there is poor documentation, so I had to figure this out by adding pieces of information together.
The cloud-init files need to be stored in a snippet. This is not very well documented:
- Go to
Storage View -> Storage -> Add -> Directory
- Give it an ID such as
snippets
, and specify any path on your host such as/snippets
- Under
Content
chooseSnippets
and de-selectDisk image
(optional) - Upload (scp/rsync/whatever) your
user-data, meta-data, network-config
files to your proxmox server in/snippets/snippets/
(the directory should be there if you followed steps 1-3)
This script can be used to backup essential configuration files from the Proxmox Virtual Enivronment (PVE) host.
The script will create backups using tar
with specified backup prefix and date and time stamp in the file name. Script will also delete backups that are older then number of days specified.
To create backup script that will be executed every day we can create backup script in /etc/cron.daily/
folder. We need to make it writeable by root (creator) only, but readable and executable by everyone:
touch /etc/cron.daily/pvehost-backup
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> | |
<!-- ... --> | |
<qemu:commandline> | |
<qemu:arg value='-acpitable'/> | |
<qemu:arg value='file=/some/path/slic.bin'/> | |
<qemu:arg value='-acpitable'/> | |
<qemu:arg value='file=/some/path/msdm.bin'/> | |
<qemu:arg value='-smbios'/> | |
<qemu:arg value='file=/some/path/smbios_type_0.bin'/> | |
<qemu:arg value='-smbios'/> |
############################################################################### | |
# | |
# Script to enhance your Privacy on Windows 10 | |
# New-ItemProperty is used to set registry values, therefore the "if exist" | |
# operation is not requiered <img src="https://s.w.org/images/core/emoji/72x72/1f642.png" alt="🙂" class="emoji" draggable="false"> | |
# | |
# created 16.12.2015 Michael Albert info@michlstechblog.info | |
# | |
# changes: | |
# 1.0.1 Init release |