#!/bin/bash
echo'正在临时修改主机名...'
hostname jw08
echo'正在永久配置主机名...'
hostnamectl set-hostname jw08
echo'正在临时修改IP地址...'
ifocnfig eno16777736 192.168.100.108/24
echo'正在关闭防火墙...'
systemctl stop firewalld.service
echo'正在配置开机时自动关闭防火墙...'
systemctl disable firewalld.service