move dbus-uuidgen --ensure=/etc/machine-id into entrypoint.sh
This commit is contained in:
@@ -9,8 +9,6 @@ ENV RUN_INSTALL_SCRIPT="false"
|
|||||||
ENV RUN_PROMETHEUS_EXPORTER="false"
|
ENV RUN_PROMETHEUS_EXPORTER="false"
|
||||||
ENV TZ=""
|
ENV TZ=""
|
||||||
|
|
||||||
RUN dbus-uuidgen --ensure=/etc/machine-id
|
|
||||||
|
|
||||||
# Add Folders and Shell Scripts
|
# Add Folders and Shell Scripts
|
||||||
RUN mkdir "/.ssh"
|
RUN mkdir "/.ssh"
|
||||||
VOLUME ["/backups"]
|
VOLUME ["/backups"]
|
||||||
|
|||||||
@@ -191,6 +191,7 @@ function run_correct_ssh_service() {
|
|||||||
# Main Code
|
# Main Code
|
||||||
#####################################################################################################
|
#####################################################################################################
|
||||||
set_environment_variables_if_not_empty
|
set_environment_variables_if_not_empty
|
||||||
|
dbus-uuidgen --ensure=/etc/machine-id
|
||||||
add_borg_user
|
add_borg_user
|
||||||
|
|
||||||
print_container_info
|
print_container_info
|
||||||
|
|||||||
Reference in New Issue
Block a user