TABLE OF CONTENTS
Question:
How to keep sample spack flavor with spack update(auto-update) on FlexVNF
Case 1:Install sample spack on FlexVNF
- In flexVNF shell we can update the ".flavor" to have sample key word
[admin@Controller1: admin]# ls -la /opt/versa/etc/spack/.flavor -rw-r--r-- 1 versa versa 7 Jul 14 11:57 /opt/versa/etc/spack/.flavor [admin@Controller1: ~] $ cat /opt/versa/etc/spack/.flavor premium
- Overwrite the .flavor file
[admin@Controller1: ~] $ sudo su [sudo] password for admin: [root@Controller1: admin]# echo "sample" > /opt/versa/etc/spack/.flavor [root@Controller1: admin]# cat /opt/versa/etc/spack/.flavor sample
- Now check for update and download the required sample spack version
request security security-package download check-for-updates request security security-package download version number <number>