Merge "Add ability to build ironic-python-agent ramdisk from packages"
This commit is contained in:
commit
f372425970
@ -0,0 +1 @@
|
|||||||
|
ironic-python-agent
|
@ -2,14 +2,17 @@
|
|||||||
"distro": {
|
"distro": {
|
||||||
"rhel": {
|
"rhel": {
|
||||||
"tgt": "targetcli"
|
"tgt": "targetcli"
|
||||||
|
"ironic-python-agent": "openstack-ironic-python-agent"
|
||||||
},
|
},
|
||||||
"centos":{
|
"centos":{
|
||||||
"tgt": "scsi-target-utils"
|
"tgt": "scsi-target-utils"
|
||||||
|
"ironic-python-agent": "openstack-ironic-python-agent"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"family": {
|
"family": {
|
||||||
"redhat": {
|
"redhat": {
|
||||||
"tgt": "scsi-target-utils"
|
"tgt": "scsi-target-utils"
|
||||||
|
"ironic-python-agent": "openstack-ironic-python-agent"
|
||||||
},
|
},
|
||||||
"debian": {
|
"debian": {
|
||||||
"tgt": "tgt"
|
"tgt": "tgt"
|
||||||
@ -17,5 +20,6 @@
|
|||||||
},
|
},
|
||||||
"default": {
|
"default": {
|
||||||
"tgt": "tgt"
|
"tgt": "tgt"
|
||||||
|
"ironic-python-agent": "openstack-ironic-python-agent"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,9 +17,11 @@ case "$DIB_INIT_SYSTEM" in
|
|||||||
;;
|
;;
|
||||||
systemd)
|
systemd)
|
||||||
systemctl disable iptables.service
|
systemctl disable iptables.service
|
||||||
|
systemctl enable openstack-ironic-python-agent.service
|
||||||
;;
|
;;
|
||||||
sysv)
|
sysv)
|
||||||
update-rc.d iptables disable
|
update-rc.d iptables disable
|
||||||
|
update-rc.d openstack-ironic-python-agent enable
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unsupported init system"
|
echo "Unsupported init system"
|
||||||
|
Loading…
Reference in New Issue
Block a user