Add ability to build ironic-python-agent ramdisk from packages

Splits the install.d into source-install and package-install in
order to allow building from a distro packaged version of
ironic-python-agent.

Change-Id: I17513c29efd8c199e07ac1ef20ea5d7456585413
This commit is contained in:
John Trowbridge 2015-07-30 19:58:51 +00:00
parent 9f46c3ba0c
commit db713fdf2d
7 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1 @@
ironic-python-agent

View File

@ -2,14 +2,17 @@
"distro": {
"rhel": {
"tgt": "targetcli"
"ironic-python-agent": "openstack-ironic-python-agent"
},
"centos":{
"tgt": "scsi-target-utils"
"ironic-python-agent": "openstack-ironic-python-agent"
}
},
"family": {
"redhat": {
"tgt": "scsi-target-utils"
"ironic-python-agent": "openstack-ironic-python-agent"
},
"debian": {
"tgt": "tgt"
@ -17,5 +20,6 @@
},
"default": {
"tgt": "tgt"
"ironic-python-agent": "openstack-ironic-python-agent"
}
}

View File

@ -17,9 +17,11 @@ case "$DIB_INIT_SYSTEM" in
;;
systemd)
systemctl disable iptables.service
systemctl enable openstack-ironic-python-agent.service
;;
sysv)
update-rc.d iptables disable
update-rc.d openstack-ironic-python-agent enable
;;
*)
echo "Unsupported init system"