Download ISO https://www.oracle.com/solaris/solaris11/downloads/solaris-downloads.html
Upload to Proxmox local ISO images
Create VM Choose downloaded ISO Guest OS: Linux 5.x
Grahics: Default
continue | |
dir=/var/www/downloads | |
file-allocation=falloc | |
max-connection-per-server=4 | |
max-concurrent-downloads=2 | |
max-overall-download-limit=0 | |
min-split-size=25M | |
rpc-allow-origin-all=true | |
rpc-secret=YouShouldChangeThis | |
input-file=/var/tmp/aria2c.session |
Download ISO https://www.oracle.com/solaris/solaris11/downloads/solaris-downloads.html
Upload to Proxmox local ISO images
Create VM Choose downloaded ISO Guest OS: Linux 5.x
Grahics: Default
require 'rspec/core' | |
namespace :check do | |
desc "Check to ensure defined puppet code has been described in spec\n(defaults: coverage=100)" | |
task :spec_described, [:coverage] do |_task, args| | |
args.with_defaults(coverage: '100') | |
def pluralize(string) | |
string.end_with?('s') ? "#{string}es" : "#{string}s" | |
end |
augeas { 'puppetserver-logback-journal': | |
incl => '/etc/puppetlabs/puppetserver/logback.xml', | |
lens => 'Xml.lns', | |
changes => [ | |
"defnode aref configuration/root/appender-ref[#attribute/ref='STDOUT'] ''", | |
"set \$aref/#attribute/ref 'STDOUT'", | |
] | |
} |
#!/bin/bash | |
#####> BEGIN: script init | |
set -o pipefail -o errtrace -o errexit -o nounset -o functrace | |
__traperror() { | |
local el=${1:=??} ec=${2:=??} lc="$BASH_COMMAND" | |
printf "ERROR in %s : line %d error %d\\n [%s]\\n" "$0" "$el" "$ec" "$lc" 1>&2 | |
exit "${2:=1}" | |
} |
source ENV['GEM_SOURCE'] || 'https://rubygems.org' | |
def location_for(place_or_version, fake_version = nil) | |
git_url_regex = %r{\A(?<url>(https?|git)[:@][^#]*)(#(?<branch>.*))?} | |
file_url_regex = %r{\Afile:\/\/(?<path>.*)} | |
if place_or_version && (git_url = place_or_version.match(git_url_regex)) | |
[fake_version, { git: git_url[:url], branch: git_url[:branch], require: false }].compact | |
elsif place_or_version && (file_url = place_or_version.match(file_url_regex)) | |
['>= 0', { path: File.expand_path(file_url[:path]), require: false }] |
# fake provide rpm dependencies | |
# | |
# requires stdlib module | |
# | |
# @param provide | |
# what to provide | |
# @param extras | |
# extra provides to add to package | |
# | |
# @example |
#!/bin/sh | |
# trackpad and trackpoint are connected to the ps port | |
# psmouse is not hotplug friendly | |
# must be removed before sleep | |
# place this file in /lib/systemd/system-sleep | |
# and chmod +x | |
PATH=/sbin:/usr/sbin:/bin:/usr/bin |
#!/usr/bin/env python3 | |
""" | |
ExtendedUnrar post-processing script for NZBGet | |
Copyright (C) 2023 h0tw1r3 | |
Copyright (C) 2014 thorli <thor78@gmx.at> | |
This program is free software; you can redistribute it and/or modify | |
it under the terms of the GNU General Public License as published by | |
the Free Software Foundation; either version 2 of the License, or |
#!/bin/bash | |
# | |
# Puppet Enterprise backup script | |
# | |
# Limits retained backup archives | |
# Optionally creates a backup of the PE service secure keys | |
# | |
# All arguments supplied via environment variables. | |
# | |
# License: MIT |