From b246b751dc44c16f1edd2f5dd53822c3d377e1a2 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Fri, 3 Jun 2016 13:52:03 +0200 Subject: Add information and ipxe images for the new netboot system --- public/views.py | 2 -- releng/urls.py | 3 ++- releng/views.py | 3 +++ settings.py | 3 --- sitestatic/netboot/ipxe.efi | Bin 0 -> 929120 bytes sitestatic/netboot/ipxe.efi.sig | Bin 0 -> 543 bytes sitestatic/netboot/ipxe.lkrn | Bin 0 -> 336027 bytes sitestatic/netboot/ipxe.lkrn.sig | Bin 0 -> 543 bytes sitestatic/netboot/ipxe.pxe | Bin 0 -> 336695 bytes sitestatic/netboot/ipxe.pxe.sig | Bin 0 -> 543 bytes templates/public/download.html | 4 +-- templates/releng/netboot.html | 54 +++++++++++++++++++++++++++++++++++++++ 12 files changed, 61 insertions(+), 8 deletions(-) create mode 100644 sitestatic/netboot/ipxe.efi create mode 100644 sitestatic/netboot/ipxe.efi.sig create mode 100644 sitestatic/netboot/ipxe.lkrn create mode 100644 sitestatic/netboot/ipxe.lkrn.sig create mode 100644 sitestatic/netboot/ipxe.pxe create mode 100644 sitestatic/netboot/ipxe.pxe.sig create mode 100644 templates/releng/netboot.html diff --git a/public/views.py b/public/views.py index 910b6c2d..6861cf62 100644 --- a/public/views.py +++ b/public/views.py @@ -72,8 +72,6 @@ def download(request): context = { 'release': release, - 'releng_iso_url': settings.ISO_LIST_URL, - 'releng_pxeboot_url': settings.PXEBOOT_URL, 'mirror_urls': _mirror_urls, } return render(request, 'public/download.html', context) diff --git a/releng/urls.py b/releng/urls.py index 0e87de48..57013291 100644 --- a/releng/urls.py +++ b/releng/urls.py @@ -23,7 +23,8 @@ releases_patterns = patterns('releng.views', ) netboot_patterns = patterns('releng.views', - (r'^archlinux\.ipxe$', 'netboot_config', {}, 'releng-netboot-config') + (r'^archlinux\.ipxe$', 'netboot_config', {}, 'releng-netboot-config'), + (r'^$', 'netboot_info', {}, 'releng-netboot-info') ) urlpatterns = patterns('', diff --git a/releng/views.py b/releng/views.py index 7db469cd..9e7a794e 100644 --- a/releng/views.py +++ b/releng/views.py @@ -299,4 +299,7 @@ def netboot_config(request): } return render(request, "releng/archlinux.ipxe", context, content_type='text/plain') +def netboot_info(request): + return render(request, "releng/netboot.html", None) + # vim: set ts=4 sw=4 et: diff --git a/settings.py b/settings.py index 79271772..4393e693 100644 --- a/settings.py +++ b/settings.py @@ -162,9 +162,6 @@ PGP_SERVER_SECURE = True # URL to fetch a current list of available ISOs ISO_LIST_URL = 'https://releng.archlinux.org/isos/' -# URL to the PXE netboot instructions -PXEBOOT_URL = 'https://releng.archlinux.org/pxeboot/' - # URL for SVN access for fetching commit messages (note absence of packages or # community bit on the end, repo.svn_root is appended) SVN_BASE_URL = 'svn://svn.archlinux.org/' diff --git a/sitestatic/netboot/ipxe.efi b/sitestatic/netboot/ipxe.efi new file mode 100644 index 00000000..fed3db42 Binary files /dev/null and b/sitestatic/netboot/ipxe.efi differ diff --git a/sitestatic/netboot/ipxe.efi.sig b/sitestatic/netboot/ipxe.efi.sig new file mode 100644 index 00000000..27c16da6 Binary files /dev/null and b/sitestatic/netboot/ipxe.efi.sig differ diff --git a/sitestatic/netboot/ipxe.lkrn b/sitestatic/netboot/ipxe.lkrn new file mode 100644 index 00000000..bda29f10 Binary files /dev/null and b/sitestatic/netboot/ipxe.lkrn differ diff --git a/sitestatic/netboot/ipxe.lkrn.sig b/sitestatic/netboot/ipxe.lkrn.sig new file mode 100644 index 00000000..7a294a4b Binary files /dev/null and b/sitestatic/netboot/ipxe.lkrn.sig differ diff --git a/sitestatic/netboot/ipxe.pxe b/sitestatic/netboot/ipxe.pxe new file mode 100644 index 00000000..932fff83 Binary files /dev/null and b/sitestatic/netboot/ipxe.pxe differ diff --git a/sitestatic/netboot/ipxe.pxe.sig b/sitestatic/netboot/ipxe.pxe.sig new file mode 100644 index 00000000..5c35c12d Binary files /dev/null and b/sitestatic/netboot/ipxe.pxe.sig differ diff --git a/templates/public/download.html b/templates/public/download.html index cbd7cd73..9116816d 100644 --- a/templates/public/download.html +++ b/templates/public/download.html @@ -68,8 +68,8 @@

If you have a wired connection, you can boot the latest release directly over the network.

HTTP Direct Downloads

diff --git a/templates/releng/netboot.html b/templates/releng/netboot.html new file mode 100644 index 00000000..36404588 --- /dev/null +++ b/templates/releng/netboot.html @@ -0,0 +1,54 @@ +{% extends "base.html" %} +{% load staticfiles %} + +{% block title %}Arch Linux - Netboot{% endblock %} + +{% block content %} +
+ +

Arch Linux Netboot

+ +

About Netboot

+ +

Netboot images are small (<1MB) images that can be used to download the latest Arch Linux release on the fly upon system boot. +It is unnecessary to update the netboot image, the newest release will be available automatically.

+ +

Netboot uses customized iPXE builds. +The Linux kernel, initramfs and squashfs files for the live system are downloaded from an Arch Linux mirror. +The integrity of all downloaded files is verified with cryptographic signatures.

+ +

Requirements

+ +

To use netboot, the following requirements must be met: + +

+ +

+ +

Download

+ +

BIOS

+ + + +

UEFI

+ + + +

You can build your own iPXE images compatible with netboot. +For details, check out the ipxe-netboot AUR package.

+ +

More information

+ +

For detailed usage instructions, check out the netboot wiki page. + +

+{% endblock %} -- cgit v1.2.3-55-g3dc8 From 46ddb836175f0a93a4e1dc231bcf23466c288bf4 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Fri, 3 Jun 2016 14:00:47 +0200 Subject: Netboot: Disable network interface renaming by default Current ISOs fail to start dhcpcd if network interface renaming is enabled and the interface is already up. Adding net.ifnames=0 to the command line works around this problem. --- templates/releng/archlinux.ipxe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/releng/archlinux.ipxe b/templates/releng/archlinux.ipxe index 87f9c83b..4945868c 100644 --- a/templates/releng/archlinux.ipxe +++ b/templates/releng/archlinux.ipxe @@ -11,7 +11,7 @@ imgtrust set bootarch ${cpuarch} set release {{ releases.0 }} set mirrorurl -set extrabootoptions ip=dhcp +set extrabootoptions ip=dhcp net.ifnames=0 set countrycode :main -- cgit v1.2.3-55-g3dc8 From 1d672ecc7c05ce3930f3cc74b8860450c5183e32 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Fri, 3 Jun 2016 14:05:48 +0200 Subject: Remove AirVM ads since AirVM has ended their sponsorship --- sitestatic/airvm_button.png | Bin 4931 -> 0 bytes templates/public/donate.html | 7 ------- templates/public/index.html | 3 --- 3 files changed, 10 deletions(-) delete mode 100644 sitestatic/airvm_button.png diff --git a/sitestatic/airvm_button.png b/sitestatic/airvm_button.png deleted file mode 100644 index 0acadc9c..00000000 Binary files a/sitestatic/airvm_button.png and /dev/null differ diff --git a/templates/public/donate.html b/templates/public/donate.html index ef80baea..301bd1c0 100644 --- a/templates/public/donate.html +++ b/templates/public/donate.html @@ -44,13 +44,6 @@ title="velocity network"> -

More thanks go to AirVM.com for contributing a VMWare-based Virtual Machine.

- - -

We would also like to thank Kartenzia for sponsoring a dedicated Arch Linux Server. Kartenzia.de is a new Start-Up based in Germany and specializes in eco-friendly invitations like Weihnachten.

diff --git a/templates/public/index.html b/templates/public/index.html index 5fc4833a..fdb136cf 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -201,9 +201,6 @@ Velocity Network - It's about time - - AirVM.com - Your Green Technology Partner - {% endcache %} {% endblock %} -- cgit v1.2.3-55-g3dc8