This code is usable only if you are on Home Assistant 0.114 or older
For Home Assistant 0.115 and newer please go to: https://github.com/AdamNaj/ZWaveGraphHA
| # Known working dnsmasq version 2.85 config for iPXE proxydhcp usage | |
| # things to replace: | |
| # * 10.1.1.0 - your subnet | |
| # * eth0 - interface to listen on, or switch to bind-dynamic | |
| # * 10.1.1.2 - your tftp server ip | |
| # * http://gentoo.ipxe.se/boot.ipxe - script to run once inside iPXE | |
| # Debug logging | |
| log-debug |
| hass:account | |
| hass:alert | |
| hass:alert-circle | |
| hass:altimeter | |
| hass:apple-safari | |
| hass:apps | |
| hass:arrow-bottom-left | |
| hass:arrow-down | |
| hass:arrow-left | |
| hass:arrow-right |
| ### Preseed for Ubuntu 18.04 | |
| # Derived from: https://help.ubuntu.com/lts/installation-guide/example-preseed.txt | |
| ### Usage | |
| # We recommend to use the build-iso.sh script to build an image with embedded | |
| # preseed and other required files. In that case the preseed file gets loaded | |
| # automatically and all additional files are available to the installer. | |
| ### Unattended Installation | |
| d-i auto-install/enable boolean true |
This code is usable only if you are on Home Assistant 0.114 or older
For Home Assistant 0.115 and newer please go to: https://github.com/AdamNaj/ZWaveGraphHA
In this guide I’ve tested a number of different commands and configurations using Docker to run a container with dhcpd (+macvlan driver) to serve my clients in my home network. In the end i’ll migrate from my Windows 2012 R2 Server running DHCP to a much more lightweight Docker container (7.42 MB in total). Wow.
| :elive | |
| echo Starting Elive ${elive-version} for ${initiator-iqn} | |
| # Get the ISO from http://www.elivecd.org/download/beta/ | |
| set base-url elive-${elive-version} | |
| set kernel-args \ | |
| boot=live swap=off \ | |
| ip=dhcp root=/dev/nfs nfsroot=${nfs-server}:${nfs-root}${base-url} \ | |
| config username=eliveuser | |
| kernel ${base-url}/live/vmlinuz1 ${kernel-args} | |
| initrd ${base-url}/live/initrd1.img |
| @echo off | |
| set startdir=%cd% | |
| set tmpdir="C:\Temp\signjar.tmp" | |
| set notepadpp="C:\Program Files (x86)\Notepad++\notepad++.exe" | |
| set veracrypt="C:\Program Files\VeraCrypt\VeraCrypt.exe" | |
| set vc_volume="\\nas\company\kunder\Fagbokforlaget V&B AS\code-signing\FVB.hc" | |
| set vc_drive="K" |
| #!ipxe | |
| set sysrcd-version 4.7.1 | |
| echo Booting SystemRescueCD ${sysrcd-version} x86 for ${initiator-iqn} | |
| # Kernel command-line options are documented here: | |
| # http://www.system-rescue-cd.org/Sysresccd-manual-en_Booting_the_CD-ROM#Network_boot_using_PXE | |
| set base-url sysrcd-${sysrcd-version}-x86/ | |
| kernel ${base-url}isolinux/altker${archs} setkmap=no net.ifnames=0 backstore=off | |
| initrd ${base-url}isolinux/initram.igz | |
| initrd ${base-url}sysrcd.dat /sysrcd.dat | |
| # Load the ramdisk again as a file inside the ramdisk, so our custom init script |
In the .git/config file add the fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to the remote you want to fetch references to PR:s from.