blob: 49b5329a1c730e8b68cf57cc2b9c09b8acefd5d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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
...
|