Solaris 10 安裝指南:自訂 JumpStart 及進階安裝

設定檔測試範例

以下範例顯示了如何使用 pfinstall 來測試名為 basic_prof 的設定檔。在已安裝 Solaris 10 軟體的系統上,針對系統的磁碟配置測試設定檔。basic_prof 設定檔位於 /jumpstart 目錄,而因為正在使用 Volume Manager 所以也會指定到 Solaris Software for SPARC Platforms - 1 CD 或 Solaris Software for x86 Platforms - 1 CD 影像的路徑。


範例 6–16 使用 Solaris 10 系統測試設定檔


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

下列範例將顯示如何使用 pfinstall 測試 Solaris 10 系統上的 basic_prof 設定檔。該測試已根據 535_test 磁碟配置檔來執行。此測試會檢查 64 MB 的系統記憶體。這個範例使用位於 /export/install 目錄中的 Solaris Software for SPARC Platforms - 1 CD 或 Solaris Software for x86 Platforms - 1 CD 影像。


範例 6–17 使用磁碟配置檔測試設定檔


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