Nano Server???????ú????
???????????? ???????[ 2016/3/15 10:24:34 ] ?????????????????? ???ù???
??????????????Nano Server?????Щ?????????????IP?????????????????????????????Nano Server?????????????????????????dism?????????????в?????
???????????IP???
????????dism?????????????????Nano???????????????????????????????????DHCP??????????????Nano Server??????????????????????Nano Server???????????IP???????????????DHCP???????????????????Nano???IP??????????ú??????????y????????
????1?????????Nano??б???????????????????????????á???PS:??????????????????????????????????????
????dism /Mount-Image /ImageFile:.Nano.vhdx /Index:1 /MountDir:.mountdir
????2???????Windows?????Setup??????У?????Setup???????Scripts??????У????·????<mountdir>WindowsSetupScripts?? ??????IP??????????????????PS??????????????????SetupComplete.cmd??
????3????????SetupComplete.cmd?????????IP?????10.0.0.2?????
????netsh interface ip set address "Ethernet0" static 10.0.0.2 255.255.255.0 10.0.0.254 1
????netsh interface ip set dnsservers name="Ethernet0" static 10.0.0.1 primary
????netsh advfirewall set domainprofile state off
????netsh advfirewall set privateprofile state off
????netsh advfirewall set publicprofile state off
????netsh advfirewall set currentprofile state off
???????????ü????????
?????????Nano Server????м??????????????????滮??????????????????????á??????????????????????????ü????????
????4??????dism????????????Nano??????????????????????????????????unattend.xml??
????dism /Image:.mountdir /Apply-Unattend:.unattend.xml
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11