sudo setsebool -P abrt_upload_watch_anon_write on
sudo setsebool -P auditadm_exec_content on
sudo setsebool -P boinc_execmem on
sudo setsebool -P cron_userdomain_transition on
sudo setsebool -P daemons_dontaudit_scheduling on
sudo setsebool -P dbadm_exec_content on
sudo setsebool -P domain_fd_use on
sudo setsebool -P entropyd_use_audio on
sudo setsebool -P fips_mode on
This file contains hidden or 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
d-i debian-installer/locale string en_US | |
d-i keyboard-configuration/xkb-keymap select us | |
d-i netcfg/choose_interface select auto | |
d-i netcfg/get_hostname string unassigned-hostname | |
d-i netcfg/get_domain string unassigned-domain | |
d-i netcfg/hostname string debian | |
d-i netcfg/wireless_wep string | |
d-i mirror/country string manual | |
d-i mirror/http/hostname string deb.debian.org | |
d-i mirror/http/directory string /debian |
ESXi 6.5 | ESXi 6.7 | VMware Fusion 11 | Guest Description |
---|---|---|---|
CRXPod1-64 | VMware CRX Pod 1 | ||
CRXSys1-64 | VMware CRX Sys 1 | ||
amazonlinux2-64 | Amazon Linux 2 or higher, 64-Bit | ||
asianux3Guest | asianux3Guest | asianux3 | Asianux Server 3 |
asianux3_64Guest | asianux3_64Guest | asianux3-64 | Asianux Server 3, 64-Bit |
asianux4Guest | asianux4Guest | asianux4 | Asia Linux 4 |
asianux4_64Guest | asianux4_64Guest | as |
This file contains hidden or 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
Stuff i found out about debian preseed. | |
It's all scattered, so I' collecting it here, so I can find it again, once I don't remember everything anymore. | |
Basic documentation is here: | |
https://www.debian.org/releases/stable/i386/apbs01.en.html | |
Additionally I found these interesting links: | |
http://hands.com/d-i/ | |
Also these french guys had the same issue as me, that the installer suddenly complained that the setup cd isn't mounted. |
This file contains hidden or 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
#_preseed_V1 | |
#### Contents of the preconfiguration file (for bullseye) | |
### Localization | |
# Preseeding only locale sets language, country and locale. | |
d-i debian-installer/locale string C | |
# The values can also be preseeded individually for greater flexibility. | |
#d-i debian-installer/language string en | |
d-i debian-installer/country string JP | |
d-i debian-installer/locale string C.UTF-8 |
-
Prepare answer file:
-
In powershell:
This is a walkthrough of setting up a PXE server to boot Ubuntu server live install .iso over network, all on an OPNsense device. No need for Dnsmasq or http/nfs server! Should be compatible with vanilla FreeBSD and HardenedBSD devices as well.
Guide made with OPNsense 20.7
and Ubuntu 20.04.2
, with the assumption that your OPNsense device is at 192.168.1.1
.
Thanks to all the other guides out there. 1 2
A couple issues I ran into with other guides is that Ubuntu's servers return 404 for older releases. Make sure to check each link used in this guide to make sure they exist! This guide works with BIOS as we use pxelinux.0 but it can be adapted fairly easily for UEFI boot.
This file contains hidden or 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
$s = Get-Content script.ps1 | Out-String | |
$j = [PSCustomObject]@{ | |
"Script" = [System.Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes($s)) | |
} | ConvertTo-Json -Compress | |
$oneline = "[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String(('" + $j + "' | ConvertFrom-Json).Script)) | iex" | |
$c = [convert]::ToBase64String([System.Text.encoding]::Unicode.GetBytes($oneline)) | |
("Powershell -NoLogo -NonInteractive -NoProfile -ExecutionPolicy Bypass -Encoded " + $c) | Out-File -Encoding Default script.cmd |
This file contains hidden or 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
--- | |
- name: Add proxmox gpg key | |
apt_key: | |
url: http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg | |
state: present | |
- name: Add proxmox repository | |
lineinfile: | |
path: /etc/apt/sources.list | |
line: deb http://download.proxmox.com/debian/pve buster pve-no-subscription |
This file contains hidden or 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
#_preseed_V1 | |
# Debian Ansible Server Preseed File | |
# Author: keybase.io/ubzy | |
# Targeted for: Debian 11 Bullseye | |
# Short link: https://git.io/fjiG3 | |
### Localization | |
d-i debian-installer/language string en | |
d-i debian-installer/country string GB |
NewerOlder