first
This commit is contained in:
commit
ca5fed619c
BIN
pliki-konfiguracyjne-serwera-pxe/.DS_Store
vendored
Normal file
BIN
pliki-konfiguracyjne-serwera-pxe/.DS_Store
vendored
Normal file
Binary file not shown.
@ -0,0 +1,17 @@
|
||||
<VirtualHost 192.168.1.25:80>
|
||||
ServerAdmin root@192.168.1.25
|
||||
DocumentRoot /
|
||||
ServerName pxe-ks.nixenos.ovh
|
||||
ErrorLog ${APACHE_LOG_DIR}/ks-server.example.com-error_log
|
||||
CustomLog ${APACHE_LOG_DIR}/ks-server.example.com-access_log common
|
||||
<Directory /ks>
|
||||
Options Indexes MultiViews
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
<Directory /images>
|
||||
Options Indexes MultiViews
|
||||
AllowOverride All
|
||||
Require all granted
|
||||
</Directory>
|
||||
</VirtualHost>
|
0
pliki-konfiguracyjne-serwera-pxe/ks/meta-data
Normal file
0
pliki-konfiguracyjne-serwera-pxe/ks/meta-data
Normal file
67
pliki-konfiguracyjne-serwera-pxe/ks/user-data
Executable file
67
pliki-konfiguracyjne-serwera-pxe/ks/user-data
Executable file
@ -0,0 +1,67 @@
|
||||
#cloud-config
|
||||
autoinstall:
|
||||
apt:
|
||||
geoip: true
|
||||
preserve_sources_list: false
|
||||
primary:
|
||||
- arches: [amd64, i386]
|
||||
uri: http://archive.ubuntu.com/ubuntu
|
||||
- arches: [default]
|
||||
uri: http://ports.ubuntu.com/ubuntu-ports
|
||||
identity: {hostname: client, password: $1$oxSzFxh3$YL4WgVnYjJmrbHlFJ1oxQ1,
|
||||
realname: admin, username: admin}
|
||||
packages_update: true
|
||||
packages_upgrade: true
|
||||
packages:
|
||||
- git
|
||||
- make
|
||||
- python3
|
||||
- python3-pip
|
||||
- qemu
|
||||
- qemu-system
|
||||
- rxvt-unicode
|
||||
- i3
|
||||
- xorg
|
||||
- xterm
|
||||
keyboard: {layout: us, toggle: null, variant: ''}
|
||||
locale: en_US.UTF-8
|
||||
users:
|
||||
- name: ansible
|
||||
gecos: Ansible User
|
||||
groups: users,admin,wheel
|
||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||
shell: /bin/bash
|
||||
lock_passwd: true
|
||||
ssh_authorized_keys:
|
||||
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKtUmNykJt6STpGnAVtCl/EkIou5P02Q4T5o+PVn/gK6"
|
||||
|
||||
# network:
|
||||
# ethernets:
|
||||
# eno49: {dhcp4: true}
|
||||
# eno50: {critical: true, dhcp-identifier: mac, dhcp4: true}
|
||||
# version: 2
|
||||
ssh: {allow-pw: true, authorized-keys: ['ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKtUmNykJt6STpGnAVtCl/EkIou5P02Q4T5o+PVn/gK6'], install-server: true}
|
||||
# storage:
|
||||
# config:
|
||||
# - {ptable: gpt, serial: 3600508b1001c576619b6670156e25877, wwn: '0x600508b1001c576619b6670156e25877',
|
||||
# path: /dev/sda, wipe: superblock, preserve: false, name: '', grub_device: true,
|
||||
# type: disk, id: disk-sda}
|
||||
# - {device: disk-sda, size: 1048576, flag: bios_grub, number: 1, preserve: false,
|
||||
# grub_device: false, type: partition, id: partition-0}
|
||||
# - {device: disk-sda, size: 1073741824, wipe: superblock, flag: '', number: 2,
|
||||
# preserve: false, grub_device: false, type: partition, id: partition-1}
|
||||
# - {fstype: ext4, volume: partition-1, preserve: false, type: format, id: format-0}
|
||||
# - {device: disk-sda, size: 899074228224, wipe: superblock, flag: '', number: 3,
|
||||
# preserve: false, grub_device: false, type: partition, id: partition-2}
|
||||
# - name: ubuntu-vg
|
||||
# devices: [partition-2]
|
||||
# preserve: false
|
||||
# type: lvm_volgroup
|
||||
# id: lvm_volgroup-0
|
||||
# - {name: ubuntu-lv, volgroup: lvm_volgroup-0, size: 214748364800B, wipe: superblock,
|
||||
# preserve: false, type: lvm_partition, id: lvm_partition-0}
|
||||
# - {fstype: ext4, volume: lvm_partition-0, preserve: false, type: format, id: format-1}
|
||||
# - {path: /, device: format-1, type: mount, id: mount-1}
|
||||
# - {path: /boot, device: format-0, type: mount, id: mount-0}
|
||||
updates: security
|
||||
version: 1
|
BIN
pliki-konfiguracyjne-serwera-pxe/srv/.DS_Store
vendored
Normal file
BIN
pliki-konfiguracyjne-serwera-pxe/srv/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
pliki-konfiguracyjne-serwera-pxe/srv/tftp/.DS_Store
vendored
Normal file
BIN
pliki-konfiguracyjne-serwera-pxe/srv/tftp/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
pliki-konfiguracyjne-serwera-pxe/srv/tftp/bootx64.efi
Executable file
BIN
pliki-konfiguracyjne-serwera-pxe/srv/tftp/bootx64.efi
Executable file
Binary file not shown.
34
pliki-konfiguracyjne-serwera-pxe/srv/tftp/grub/grub.cfg
Executable file
34
pliki-konfiguracyjne-serwera-pxe/srv/tftp/grub/grub.cfg
Executable file
@ -0,0 +1,34 @@
|
||||
set default="0"
|
||||
set timeout=-30
|
||||
|
||||
if loadfont unicode ; then
|
||||
set gfxmode=auto
|
||||
set locale_dir=$prefix/locale
|
||||
set lang=en_US
|
||||
fi
|
||||
terminal_output gfxterm
|
||||
|
||||
set menu_color_normal=white/black
|
||||
set menu_color_highlight=black/light-gray
|
||||
if background_color 44,0,30; then
|
||||
clear
|
||||
fi
|
||||
|
||||
function gfxmode {
|
||||
set gfxpayload="${1}"
|
||||
if [ "${1}" = "keep" ]; then
|
||||
set vt_handoff=vt.handoff=7
|
||||
else
|
||||
set vt_handoff=
|
||||
fi
|
||||
}
|
||||
|
||||
set linux_gfx_mode=keep
|
||||
|
||||
export linux_gfx_mode
|
||||
|
||||
menuentry 'Install Ubuntu 22.04' {
|
||||
gfxmode $linux_gfx_mode
|
||||
linux vmlinuz ip=dhcp url=http://192.168.1.25/images/ubuntu22/ubuntu.iso autoinstall ds=nocloud-net\;s=http://192.168.1.25/ks/ cloud-config-url=/dev/null fsck.mode=skip
|
||||
initrd initrd
|
||||
}
|
BIN
pliki-konfiguracyjne-serwera-pxe/srv/tftp/grubx64.efi
Normal file
BIN
pliki-konfiguracyjne-serwera-pxe/srv/tftp/grubx64.efi
Normal file
Binary file not shown.
BIN
pliki-konfiguracyjne-serwera-pxe/srv/tftp/initrd
Executable file
BIN
pliki-konfiguracyjne-serwera-pxe/srv/tftp/initrd
Executable file
Binary file not shown.
BIN
pliki-konfiguracyjne-serwera-pxe/srv/tftp/unicode.pf2
Executable file
BIN
pliki-konfiguracyjne-serwera-pxe/srv/tftp/unicode.pf2
Executable file
Binary file not shown.
BIN
pliki-konfiguracyjne-serwera-pxe/srv/tftp/vmlinuz
Executable file
BIN
pliki-konfiguracyjne-serwera-pxe/srv/tftp/vmlinuz
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user