request vmhost software add (NFX Series)
Syntax
request vmhost software add package-name <in>| <no-validate>| <reboot>| <set>| <unlink>| <upgrade-to-model model-number>
Description
Install or upgrade the Junos OS and host software packages on the device.
Options
in—(Optional) Number of minutes to delay before the reboot operation.
no-validate—(Optional) When loading a software package or bundle with a different release, suppress the default behavior of the
validate
option.reboot—(Optional) After adding the software package or bundle, reboot the system.
set—(Optional) List of URLs or pathnames corresponding to the software packages.
unlink—(Optional) Removes the software package after successful installation.
upgrade-to-model—(Optional) model number—(Optional) Name of the model to upgrade to.
Required Privilege Level
maintenance
Sample Output
request vmhost software add (NFX150)
user@host> request vmhost software add /var/public/jinstall-host-nfx-3-x86-64-18.1R1.8-secure-signed.tgz no-validate reboot Verified jinstall-host-nfx-3-x86-64-18.1R1.8-secure-signed signed by PackageProductionEc_2018 method ECDSA256+SHA256 Pushing Junos image package to the host... File already present in Host. Skipping pushing the image Mounting primary partitions to stage upgrade operation Installing /mnt/.share/lshare/public/pkginst.7565/install-media-nfx-3-junos-18.1R1.8-secure.tgz Extracting the package ... .. ..
request vmhost software add (NFX250 (NG))
user@host> request vmhost software add /var/public/jinstall-host-nfx-3-x86-64-18.4R1.8-secure-signed.tgz Verified jinstall-host-nfx-3-x86-64-18.4R1.8-secure-signed signed by PackageProductionEc_2018 method ECDSA256+SHA256 Pushing Junos image package to the host... File already present in Host. Skipping pushing the image Mounting alternate partitions to stage upgrade operation Installing /mnt/.share/lshare/public/pkginst.39634/install-media-nfx-3-junos-18.4R1.8-secure.tgz Extracting the package ... ============================================ Host OS upgrade is FORCED Current Host kernel version : 4.1.27-rt30-WR8.0.0.25_ovp Package Host kernel version : 4.1.27-rt30-WR8.0.0.25_ovp Current Host version : 3.0.3 Package Host version : 3.0.3 Min host version required for applications: 3.0.2 ============================================ Validate linux image... upgrade_platform: ------------------- upgrade_platform: Parameters passed: upgrade_platform: silent=0 upgrade_platform: package=/var/tmp/tmp.rV7S1sxWedjunos_cli_upg/jinstall-nfx-3-junos-18.4R1.8-secure-linux.tgz upgrade_platform: clean install=0 upgrade_platform: on primary =0 upgrade_platform: clean upgrade=0 upgrade_platform: Need reboot after staging=1 upgrade_platform: ------------------- upgrade_platform: upgrade_platform: Checking input /var/tmp/tmp.rV7S1sxWedjunos_cli_upg/jinstall-nfx-3-junos-18.4R1.8-secure-linux.tgz ... upgrade_platform: Input package /var/tmp/tmp.rV7S1sxWedjunos_cli_upg/jinstall-nfx-3-junos-18.4R1.8-secure-linux.tgz is valid. Secure Boot is enforced. ALLOW:usr/secureboot/grub/BOOTX64.EFI ALLOW:boot/bzImage-intel-x86-64.bin ALLOW:boot/initramfs.cpio.gz Setting up Junos host applications for installation ... Current junos instance is 0 Installing Host OS ... upgrade_platform: ------------------- upgrade_platform: Parameters passed: upgrade_platform: silent=0 upgrade_platform: package=/var/tmp/jinstall-nfx-3-junos-18.4R1.8-secure-linux.tgz upgrade_platform: clean install=0 upgrade_platform: on primary =0 upgrade_platform: clean upgrade=0 upgrade_platform: Need reboot after staging=0 upgrade_platform: ------------------- upgrade_platform: upgrade_platform: Checking input /var/tmp/jinstall-nfx-3-junos-18.4R1.8-secure-linux.tgz ... upgrade_platform: Input package /var/tmp/jinstall-nfx-3-junos-18.4R1.8-secure-linux.tgz is valid. Secure Boot is enforced. ALLOW:usr/secureboot/grub/BOOTX64.EFI ALLOW:boot/bzImage-intel-x86-64.bin ALLOW:boot/initramfs.cpio.gz upgrade_platform: Backing up boot assets.. upgrade_platform: Staging the upgrade package - /var/tmp/jinstall-nfx-3-junos-18.4R1.8-secure-linux.tgz.. upgrade_platform: Checksum verified and OK... upgrade_platform: Staging of /var/tmp/jinstall-nfx-3-junos-18.4R1.8-secure-linux.tgz completed upgrade_platform: System needs *REBOOT* to complete the upgrade Host OS upgrade staged. Reboot the system to complete installation!
Release Information
Command introduced in Junos OS Release 18.1R1.