差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

osprovision:kickstart:ubuntu:networkproblem:basic [2016/10/06 22:43]
tony [Config Multiple NICs]
osprovision:kickstart:ubuntu:networkproblem:basic [2023/06/25 09:48]
行 1: 行 1:
-{{tag>​Ubuntu kickstart Os_Provision}} 
-====== Ubuntu-server Network Setting Of The Automated Installation (Working..) ====== 
-===== Basic Process ===== 
-在RHEL/​CentOS、VMWare ESXI與SLES的自動安裝系統流程中,都有pre與post階段。Ubuntu的kickstart檔案,也提供了pre與post區塊;但Ubuntu與其它distribution最大差異在於:​ pre階段並沒載入網卡驅動。它的流程像這樣:​ 
-  - Run pre script。 
-  - Detect HW。 
-  - Install OS。 
-  - Run post script。 
-在Detect HW階段,會去偵測並設定網卡。 
-===== Multiple NICs Warning ===== 
-當你有兩張以上網卡且都可以連線的時候,安裝就會停住,並要求你選一張。 
-===== Config Multiple NICs ===== 
-在RHEL/​CentOS中,面對多張需要被設定的網卡,你可以在kickstart檔案中,透過多個network指令與--device參數去完成設定。而在Ubuntu上,即使你設定了多個network指令,也只有最後一個會生效。這意味著以下的內容只有em2會在第二階段被設定:​ 
-<code bash> 
-network --bootproto=dhcp --device=em1 
-network --bootproto=dhcp --device=em2 
-</​code>​ 
-===== Reference ===== 
-  * [[http://​askubuntu.com/​questions/​617558/​preseed-doesnt-automatically-select-network-interface-on-ubuntu-14-04-automate|automatically select network interface problem]]