Skip to content

Instantly share code, notes, and snippets.

View lemassykoi's full-sized avatar

Clément PAPPALARDO lemassykoi

  • I.P.C.
  • France
  • 09:06 (UTC +01:00)
View GitHub Profile
@lemassykoi
lemassykoi / update_ubuntu_netboot.sh
Created January 20, 2023 23:03
Script made to update Ubuntu Netboot for PXE Server
#!/usr/bin/env bash
# crontab -e
# 0 3 * * * /bin/bash /root/update_ubuntu_netboot.sh
# apt install syslinux-common
#=============================================
ubuntu_files='/srv/tftp/images/ubuntu'
iso_location='/srv/tftp/images/ISO'
dist=("focal" "jammy")
# focal 20.04
# jammy 22.04