[root@localhost:/vmfs/volumes/669e4744-f7c6f0ff-df85-246e9618f96c] ls immortalwrt-23.05.3-x86-64-generic-ext4-combined-efi.vmdk
[root@localhost:/vmfs/volumes/669e4744-f7c6f0ff-df85-246e9618f96c] vmkfstools -i immortalwrt-23.05.3-x86-64-generic-ext4-combined-efi.vmdk immortalwrt-2 3.05.3-x86-64-generic-ext4-combined-efi-new.vmdk -d thin Destination disk format: VMFS thin-provisioned Cloning disk 'immortalwrt-23.05.3-x86-64-generic-ext4-combined-efi.vmdk'... Clone: 100% done.
[root@localhost:/vmfs/volumes/669e4744-f7c6f0ff-df85-246e9618f96c] ls immortalwrt-23.05.3-x86-64-generic-ext4-combined-efi-new-flat.vmdk immortalwrt-23.05.3-x86-64-generic-ext4-combined-efi-new.vmdk immortalwrt-23.05.3-x86-64-generic-ext4-combined-efi.vmdk
uci set network.lan.ipaddr='192.168.0.100' uci set network.lan.netmask='255.255.255.0' uci set network.lan.gateway='192.168.0.1' uci commit network /etc/init.d/network restart
如果需要DHCP
1 2 3
uci set network.lan.proto='dhcp' uci commit network /etc/init.d/network restart