Add Change Hostname option #3

Open
opened 2024-07-06 16:47:34 -04:00 by yuriy · 1 comment
Owner
No description provided.
Author
Owner

Not working:

if [[ $index -eq 14 ]] && [[ $i == *"TRUE"* ]]; then
    echo "Changing Hostname"
    echo "Please input new Hostname"
    read newhostname && hostnamectl set-hostname $newhostname
fi

image

Not working: ``` if [[ $index -eq 14 ]] && [[ $i == *"TRUE"* ]]; then echo "Changing Hostname" echo "Please input new Hostname" read newhostname && hostnamectl set-hostname $newhostname fi ``` ![image](/attachments/7ea87840-b987-473f-bd70-40dae8d8c004)
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: yuriy/linux-setup-script#3
No description provided.