Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelrjim authored Jan 9, 2024
2 parents 134263f + 6e118fa commit 325cc0b
Show file tree
Hide file tree
Showing 35 changed files with 288 additions and 111 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:

- name: Build ${{ matrix.addon }} add-on
if: steps.check.outputs.build_arch == 'true'
uses: home-assistant/builder@2023.12.0
uses: home-assistant/builder@2024.01.0
with:
args: |
${{ env.BUILD_ARGS }} \
Expand Down
4 changes: 4 additions & 0 deletions dhcp_server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.3.1

- Don't fail if no DNS is provided

## 1.3.0

- Add NTP server configuration option.
Expand Down
2 changes: 1 addition & 1 deletion dhcp_server/config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.3.0
version: 1.3.1
slug: dhcp_server
name: DHCP server
description: A simple DHCP server
Expand Down
14 changes: 11 additions & 3 deletions dhcp_server/data/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,30 @@ bashio::log.info "Creating DHCP configuration..."

# Create main config
DEFAULT_LEASE=$(bashio::config 'default_lease')
DNS=$(bashio::config 'dns|join(", ")')
DOMAIN=$(bashio::config 'domain')
MAX_LEASE=$(bashio::config 'max_lease')

{
echo "option domain-name \"${DOMAIN}\";"
echo "option domain-name-servers ${DNS};";
echo "default-lease-time ${DEFAULT_LEASE};"
echo "max-lease-time ${MAX_LEASE};"
echo "authoritative;"
} > "${CONFIG}"

# Create DNS Server List
if [ "$(bashio::config 'dns')" ]
then
DNS=$(bashio::config 'dns|join(", ")')
{
echo "option domain-name-servers ${DNS};";
} >> "${CONFIG}"
fi


# Create NTP Server List
if [ "$(bashio::config 'ntp')" ]
then
NTP=$(bashio::config 'ntp|join(", ")')
NTP=$(bashio::config 'ntp|join(", ")')
{
echo "option ntp-servers ${NTP};";
} >> "${CONFIG}"
Expand Down
4 changes: 4 additions & 0 deletions letsencrypt/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 5.0.9

- Add option to specify Private Key type

## 5.0.8

- Add Dreamhost DNS challenge support
Expand Down
Loading

0 comments on commit 325cc0b

Please sign in to comment.