Solaris 9 安裝指南

設定檔測試範例

以下範例顯示如何使用 pfinstall 來測試名為 basic_prof 的設定檔。設定檔根據已安裝 Solaris 9 軟體的系統之磁碟配置來進行測試。basic_prof 設定檔位於 /jumpstart 目錄,並且指定了 Solaris 9 Software 1 of 2 SPARC Platform Edition CD 或 Solaris 9 Software 1 of 2 x86 Platform Edition CD 影像的路徑,因為容體管理程式正在使用中。


範例 23–9 使用 Solaris 9 系統測試設定檔


# cd /jumpstart
# /usr/sbin/install.d/pfinstall -D -c /cdrom/pathname basic_prof

以下範例顯示如何使用 pfinstall 來測試 Solaris 9 系統上名為 basic_prof 的設定檔。該測試已根據 535_test 磁碟配置檔來執行。此測試會檢查 64 MB 的系統記憶體。本範例使用 Solaris 9 Software 1 of 2 SPARC Platform Edition CD 或 Solaris 9 Software 1 of 2 x86 Platform Edition CD 影像(位於 /export/install 目錄中)。


範例 23–10 使用磁碟配置檔測試設定檔


# SYS_MEMSIZE=64
# export SYS_MEMSIZE
# /usr/sbin/install.d/pfinstall -d 535_test -c /export/install basic_prof