Skip to content

Commit

Permalink
v3.1.4 (#51)
Browse files Browse the repository at this point in the history
* v3.1.4

* v3.1.4
  • Loading branch information
brod-intel authored Aug 29, 2023
1 parent de17091 commit 3e2d97b
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 43 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,15 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Known Problem
- Missing instructions of how to build the boot.wim, boot.sdi and BCD from Microsoft ADK

## [3.1.4] - 2023-08-28
### Changed
- Fixed conf/config.yml unset variable disable_fluent_logging
- Fixed ESP uOS MOTD
- Fixed Network Detection

### Known Problem
- Missing instructions of how to build the boot.wim, boot.sdi and BCD from Microsoft ADK


[1.5.1]: https://github.com/intel/Edge-Software-Provisioner/compare/v1.5...v1.5.1
[1.6.0]: https://github.com/intel/Edge-Software-Provisioner/compare/v1.5.1...v1.6
Expand All @@ -267,3 +276,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
[3.0.2]: https://github.com/intel/Edge-Software-Provisioner/compare/v3.0.1...v3.0.2
[3.0.5]: https://github.com/intel/Edge-Software-Provisioner/compare/v3.0.2...v3.0.5
[3.1.2]: https://github.com/intel/Edge-Software-Provisioner/compare/v3.0.5...v3.1.2
[3.1.2]: https://github.com/intel/Edge-Software-Provisioner/compare/v3.1.2...v3.1.4
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ else
fi

#Enable/Disable fluent logging for dnsmasq service
if [[ "${builder_config_disable_fluent_logging-false}" == "false" ]]; then
if [[ "${builder_config_disable_fluent_logging-true}" == "false" ]]; then
if grep -q '# driver: "fluentd"' docker-compose.yml; then
sed -zEi 's|driver: "json-file"\n[^\n]*options:\n[^\n]*max-file: "5"\n[^\n]*max-size: "1m"(\n[^\n]*# driver: "fluentd")|# driver: "json-file"\n # options:\n # max-file: "5"\n # max-size: "1m"\1|' docker-compose.yml
sed -zEi 's|# driver: "fluentd"[^.]*"localhost:24224"|driver: "fluentd"\n options:\n fluentd-address: "localhost:24224"|' docker-compose.yml
Expand Down
4 changes: 2 additions & 2 deletions compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ networks:

services:
core:
image: intel/esp-core:v3.1.2
image: intel/esp-core:v3.1.4
environment:
- CONTAINER_IMAGES=intel/esp-core:v3.1.2 intel/esp-gitea:v3.1.2 intel/esp-dnsmasq:v3.1.2 intel/esp-squid:v3.1.2 intel/esp-web:v3.1.2 intel/esp-git:v3.1.2 intel/esp-aws-cli:v3.1.2 intel/esp-uos-builder:v3.1.2 intel/esp-qemu:v3.1.2 intel/esp-certbot:v3.1.2 intel/esp-smb:v3.1.2 intel/esp-dyn-profile:v3.1.2 intel/esp-logging-agent:v3.1.2 intel/esp-uos-kernel:v3.1.2 intel/esp-uos-wifi:v3.1.2 intel/esp-uos-firmware-wifi:v3.1.2 intel/esp-uos-firmware-lan:v3.1.2 intel/esp-uos-dyninit:v3.1.2
- CONTAINER_IMAGES=intel/esp-core:v3.1.4 intel/esp-gitea:v3.1.2 intel/esp-dnsmasq:v3.1.2 intel/esp-squid:v3.1.2 intel/esp-web:v3.1.2 intel/esp-git:v3.1.2 intel/esp-aws-cli:v3.1.2 intel/esp-uos-builder:v3.1.2 intel/esp-qemu:v3.1.2 intel/esp-certbot:v3.1.2 intel/esp-smb:v3.1.2 intel/esp-dyn-profile:v3.1.2 intel/esp-logging-agent:v3.1.2 intel/esp-uos-kernel:v3.1.2 intel/esp-uos-wifi:v3.1.2 intel/esp-uos-firmware-wifi:v3.1.2 intel/esp-uos-firmware-lan:v3.1.2 intel/esp-uos-dyninit:v3.1.2
- BUILDER_PATH=${PWD}
- PATH=${PWD}:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin
- http_proxy=${http_proxy:-}
Expand Down
23 changes: 11 additions & 12 deletions dockerfiles/uos/files/containers/services/getty/lower/etc/motd
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@


/###### /######
/##__ ## /##__ ##
/## /##| ## \ ##| ## \__/
| ## | ##| ## | ##| ######
| ## | ##| ## | ## \____ ##
| ## | ##| ## | ## /## \ ##
| ######/| ######/| ######/
\______/ \______/ \______/


Welcome to uOS.

Intel
███████╗███████╗██████╗ ██████╗ ███████╗
██╔════╝██╔════╝██╔══██╗ ██╗ ██╗██╔═══██╗██╔════╝
█████╗ ███████╗██████╔╝ ██║ ██║██║ ██║███████╗
██╔══╝ ╚════██║██╔═══╝ ██║ ██║██║ ██║╚════██║
███████╗███████║██║ ╚██████╔╝╚██████╔╝███████║
╚══════╝╚══════╝╚═╝ ╚═════╝ ╚═════╝ ╚══════╝
Intel Edge Software Provisioner Micro OS


23 changes: 11 additions & 12 deletions dockerfiles/uos/files/containers/services/sshd/lower/etc/motd
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@


/###### /######
/##__ ## /##__ ##
/## /##| ## \ ##| ## \__/
| ## | ##| ## | ##| ######
| ## | ##| ## | ## \____ ##
| ## | ##| ## | ## /## \ ##
| ######/| ######/| ######/
\______/ \______/ \______/


Welcome to uOS.

Intel
███████╗███████╗██████╗ ██████╗ ███████╗
██╔════╝██╔════╝██╔══██╗ ██╗ ██╗██╔═══██╗██╔════╝
█████╗ ███████╗██████╔╝ ██║ ██║██║ ██║███████╗
██╔══╝ ╚════██║██╔═══╝ ██║ ██║██║ ██║╚════██║
███████╗███████║██║ ╚██████╔╝╚██████╔╝███████║
╚══════╝╚══════╝╚═╝ ╚═════╝ ╚═════╝ ╚══════╝
Intel Edge Software Provisioner Micro OS


23 changes: 11 additions & 12 deletions dockerfiles/uos/files/etc/issue
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@


/###### /######
/##__ ## /##__ ##
/## /##| ## \ ##| ## \__/
| ## | ##| ## | ##| ######
| ## | ##| ## | ## \____ ##
| ## | ##| ## | ## /## \ ##
| ######/| ######/| ######/
\______/ \______/ \______/


Welcome to uOS.

Intel
███████╗███████╗██████╗ ██████╗ ███████╗
██╔════╝██╔════╝██╔══██╗ ██╗ ██╗██╔═══██╗██╔════╝
█████╗ ███████╗██████╔╝ ██║ ██║██║ ██║███████╗
██╔══╝ ╚════██║██╔═══╝ ██║ ██║██║ ██║╚════██║
███████╗███████║██║ ╚██████╔╝╚██████╔╝███████║
╚══════╝╚══════╝╚═╝ ╚═════╝ ╚═════╝ ╚══════╝
Intel Edge Software Provisioner Micro OS


2 changes: 1 addition & 1 deletion dockerfiles/uos/uos-wifi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ files:
# ssh-rsa fill-this-in-with-an-ssh-key-if-you-want
mode: "0600"
- path: etc/docker/daemon.json
contents: '{"debug": true}'
contents: '{"debug": true, "storage-driver": "vfs"}'
- path: usr/local/bin/uos
contents: |
hostname uos
Expand Down
2 changes: 1 addition & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ else
if [[ "${builder_config_dynamic_profile__enabled-x}" == "true" ]]; then
DOCKER_COMPOSE_SERVICES="${DOCKER_COMPOSE_SERVICES} dyn-profile"
fi
if [[ "${builder_config_disable_fluent_logging-false}" == "false" ]]; then
if [[ "${builder_config_disable_fluent_logging-true}" == "false" ]]; then
DOCKER_COMPOSE_SERVICES="${DOCKER_COMPOSE_SERVICES} logging-server"
fi
docker-compose up -d ${DOCKER_COMPOSE_SERVICES}
Expand Down
4 changes: 2 additions & 2 deletions scripts/templateutils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ getMyIp() {

getMyDefaultRoute() {
if [[ -z "${builder_config_interface+x}" ]]; then
echo $(ip route show | grep -i 'default via'| awk '{print $3 }')
echo $(ip route show | grep -i 'default via'| awk '{print $3 }' | head -n 1 )
else
ifDefaultRoute=$(ip route show dev ${builder_config_interface} | grep -i 'default via'| awk '{print $3 }' | head -n 1 )
if [[ -z "${ifDefaultRoute=x}" ]]; then
Expand All @@ -37,7 +37,7 @@ getMyDefaultRoute() {

getMyBroadcast() {
if [[ -z "${builder_config_interface+x}" ]]; then
echo $(ip -o -4 addr list $(ip route show 0.0.0.0/0 | awk '{print $5}') | grep brd | sed -e 's/^.* brd \([0-9\.]*\) .*$/\1/' )
echo $(ip -o -4 addr list $(ip route show 0.0.0.0/0 | awk '{print $5}' | head -n 1) | grep brd | sed -e 's/^.* brd \([0-9\.]*\) .*$/\1/' )
else
echo $(ip -o -4 addr list ${builder_config_interface} | grep brd | sed -e 's/^.* brd \([0-9\.]*\) .*$/\1/')
fi
Expand Down

0 comments on commit 3e2d97b

Please sign in to comment.