/ip dhcp-server network
add address=192.168.180.0/24 boot-file-name=pxelinux.0 dns-server=192.168.180.1 gateway=192.168.180.1 next-server=192.168.180.55
Download the Ubuntu 24.04 Netboot tarball and extract it to /srv/tftp
.
/ip dhcp-server network
add address=192.168.180.0/24 boot-file-name=pxelinux.0 dns-server=192.168.180.1 gateway=192.168.180.1 next-server=192.168.180.55
Download the Ubuntu 24.04 Netboot tarball and extract it to /srv/tftp
.
FROM --platform=linux/amd64 alpine:latest | |
RUN apk add --update \ | |
7zip \ | |
curl \ | |
wine | |
ARG QAAC_VERSION=2.80 | |
ENV WINEDEBUG=-all |
<?xml version="1.0"?> | |
<customers> | |
<customer> | |
<!-- Kundennummer --> | |
<number>1234</number> | |
<!-- Debitorennummer, wenn abweichend von Kundennummer --> | |
<debtorNumber>10512</debtorNumber> | |
<!-- m=Herr | f=Frau --> |
#!/usr/bin/python | |
EXAMPLES = ''' | |
# Reads or generates a wireguard key | |
- wg_key: path=/etc/wireguard/site/secret.conf | |
''' | |
from ansible.module_utils.basic import AnsibleModule | |
import os | |
import re |
--- | |
- name: Install wireguard | |
apt: name=wireguard | |
- name: Read private key | |
slurp: | |
src: /etc/systemd/network/99-wg0.netdev | |
register: netdev | |
ignore_errors: yes |
#!/usr/bin/python3 -u | |
import select | |
import re | |
import subprocess | |
from systemd import journal | |
from datetime import timedelta | |
from collections import defaultdict | |
[Unit] | |
Description=OTRS daemon | |
After=network.target | |
Requires=mysql.service | |
[Service] | |
Type=forking | |
ExecStart=/opt/otrs/bin/otrs.Daemon.pl start | |
User=otrs | |
Restart=on-failure |
#/bin/sh | |
host="otrs.example.com" | |
pass="topsecret" | |
rsync -av $host:/var/lib/mysql /var/lib/ --exclude usr_\* --exclude confixx --delete | |
rsync $host:/etc/mysql/debian.cnf /etc/mysql/ | |
# Perl-Pakete für OTRS | |
apt install --no-install-recommends libtimedate-perl libnet-dns-perl libnet-ldap-perl libio-socket-ssl-perl libpdf-api2-perl libsoap-lite-perl libgd-text-perl libtext-csv-xs-perl libjson-xs-perl libgd-graph-perl libapache-dbi-perl libcrypt-eksblowfish-perl libarchive-zip-perl libtemplate-perl libyaml-libyaml-perl |
package main | |
import ( | |
"fmt" | |
"io" | |
"io/ioutil" | |
"log" | |
"net" | |
"os" |
#!/usr/bin/env python2 | |
import subprocess | |
import re | |
import urllib2 | |
import os | |
hostname = "xxx.dynv6.net" | |
token = "your-secret-token" |