import (
_ "net/http/pprof"
"net/http"
)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Licensed under the MIT License – https://opensource.org/licenses/MIT | |
| DOWNLOAD_LOCATION="/roms" | |
| if mountpoint -q /roms2; then | |
| DOWNLOAD_LOCATION="/roms2" | |
| fi | |
| declare -A system_to_url |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # a general "room" yaml file. | |
| # all of the other rooms are essentially the same | |
| # the only differences are the parameters for the `glanece` card and the `room` template | |
| title: Foyer | |
| icon: mdi:door | |
| type: custom:vertical-stack-in-card | |
| cards: | |
| - type: glance | |
| show_header_toggle: false | |
| columns: 3 |
Add the following chunk to your existing ISC dhcpd.conf file.
if exists user-class and ( option user-class = "iPXE" ) {
filename "http://boot.smidsrod.lan/boot.ipxe";
}
else {
filename "undionly.kpxe";
}
(or see https://gist.github.com/4008017 for a more elaborate setup