Skip to content

Commit

Permalink
New feature: change system hostname from menu
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Oct 6, 2024
1 parent e50a115 commit 9720bf6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/armbian-configng/config.ng.jobs.json
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,16 @@
],
"status": "Disabled",
"author": ""
},
{
"id": "L04",
"description": "Change System Hostname",
"command": [
"NEW_HOSTNAME=$(whiptail --title \"Enter new hostnane\" --inputbox \"\" 7 50 3>&1 1>&2 2>&3)",
"[ $? -eq 0 ] && [ -n \"${NEW_HOSTNAME}\" ] && hostnamectl set-hostname \"${NEW_HOSTNAME}\""
],
"status": "Preview",
"author": ""
}
]
},
Expand Down

1 comment on commit 9720bf6

@igorpecovnik
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed to main by mistake

Please sign in to comment.