summaryrefslogtreecommitdiffstats
path: root/site/intel-pod15/baremetal/bootactions/ixgbe-dkms-install.yaml
diff options
context:
space:
mode:
authorSridhar Rao <sridhar.rao@spirent.com>2020-01-07 13:51:26 +0000
committerGerrit Code Review <gerrit@opnfv.org>2020-01-07 13:51:26 +0000
commite3662f82cb0e826e0392e8196f4bc8589f0549e9 (patch)
tree0ce8e65bddb526c7f50cbf1948c0ef45d3edbcb9 /site/intel-pod15/baremetal/bootactions/ixgbe-dkms-install.yaml
parentb95d37fdf850e4e413138ec4b3f01a8a87d24fbb (diff)
parent8897346be53170aaac7d84bec4facd845bf09519 (diff)
Merge "Addition of Intel Pod15 Site Manifest"
Diffstat (limited to 'site/intel-pod15/baremetal/bootactions/ixgbe-dkms-install.yaml')
-rw-r--r--site/intel-pod15/baremetal/bootactions/ixgbe-dkms-install.yaml56
1 files changed, 56 insertions, 0 deletions
diff --git a/site/intel-pod15/baremetal/bootactions/ixgbe-dkms-install.yaml b/site/intel-pod15/baremetal/bootactions/ixgbe-dkms-install.yaml
new file mode 100644
index 0000000..49b5329
--- /dev/null
+++ b/site/intel-pod15/baremetal/bootactions/ixgbe-dkms-install.yaml
@@ -0,0 +1,56 @@
+---
+# This file defines a boot action to install specified version of the ixgbe
+# driver and blacklist the ixgbevf driver.
+schema: 'drydock/BootAction/v1'
+metadata:
+ schema: 'metadata/Document/v1'
+ name: ixgbe-dkms-install
+ storagePolicy: 'cleartext'
+ layeringDefinition:
+ abstract: false
+ layer: site
+ labels:
+ application: 'drydock'
+ substitutions:
+ - src:
+ schema: pegleg/Script/v1
+ name: ixgbe-dkms-install
+ path: .
+ dest:
+ path: .assets[1].data
+data:
+ signaling: false
+ assets:
+ - path: /etc/systemd/system/ixgbe-dkms-install.service
+ type: unit
+ permissions: '444'
+ data: |
+ [Unit]
+ Description=Service for Installing ixgbe driver
+ DefaultDependencies=no
+ Before=promjoin.service
+ After=network-online.target local-fs.target cloud-init.target
+
+ [Service]
+ Type=oneshot
+ ExecStart=/opt/ixgbe-dkms-install.sh
+ RemainAfterExit=true
+
+ [Install]
+ WantedBy=airship.target
+
+ data_pipeline:
+ - utf8_decode
+ - path: /opt/ixgbe-dkms-install.sh
+ type: file
+ permissions: '700'
+ data_pipeline:
+ - utf8_decode
+ - path: /etc/modprobe.d/sriov_blacklist.conf
+ type: file
+ permissions: '644'
+ data_pipeline:
+ - utf8_decode
+ data: |
+ blacklist ixgbevf
+...