Skip to content

Commit ad03702

Browse files
author
Kristan Kenney
committed
Disable changing of hostname in demo mode
1 parent 6127cd4 commit ad03702

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/v-change-sys-hostname

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ source $HESTIA/conf/hestia.conf
2424
check_args '1' "$#" 'HOSTNAME'
2525
is_format_valid 'domain'
2626

27+
# Perform verification if read-only mode is enabled
28+
check_hestia_demo_mode
2729

2830
#----------------------------------------------------------#
2931
# Action #

0 commit comments

Comments
 (0)