您可以依照本程序的說明,使用指令行上的 archive_location 關鍵字安裝 Solaris Flash 歸檔,不需要再從設定檔檔案安裝。 您不需要使用設定檔檔案,就能迅速擷取歸檔。
鍵入:
# luupgrade -f -n BE_name -s os_image_path -J 'profile' |
-f |
指出從 Solaris Flash 歸檔升級一個作業系統。 |
-n BE_name |
指定欲升級的開機環境名稱。 |
-s os_image_path |
指定包含作業系統影像的目錄路徑名稱。此目錄可以在安裝媒體上,如 DVD-ROM、CD-ROM 或是其可以為 NFS 或 UFS 目錄。 |
-J 'profile' |
指定 archive_location 設定檔關鍵字。 有關關鍵字的值,請參閱 archive_location 關鍵字. |
該開機環境已準備好被啟動。
在此範例中,歸檔已安裝在 second_diskk 開機環境上。-J 選項及 archive_location 關鍵字可用來擷取歸檔。 除了可共用的檔案之外所有在 second_disk 上的檔案都將被覆寫。
# luupgrade -f -n second_disk \ -s /net/installmachine/export/solarisX/OS_image \ -J 'archive_location http://example.com/myflash.flar' |