fix firstboot script
implement required changes to adopt firstboot script for CentOS 7.x. Since lsb_release command is not available on CentOS 7.x, we will include redhat-lsb-core package to image. Change-Id: I2e5f2d598fbb9b3af0fcfd6e69a09e1ebce8e52d
This commit is contained in:
parent
0d727b5d49
commit
3ba71becd2
@ -38,6 +38,9 @@ function firstboot_common {
|
||||
6.*)
|
||||
chown -R cloud-user:cloud-user /home/cloud-user
|
||||
;;
|
||||
7.*)
|
||||
chown -R centos:centos /home/centos
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
* )
|
||||
|
@ -1,2 +1,3 @@
|
||||
wget:
|
||||
tar:
|
||||
redhat-lsb-core:
|
||||
|
10
elements/hadoop/pkg-map
Normal file
10
elements/hadoop/pkg-map
Normal file
@ -0,0 +1,10 @@
|
||||
{
|
||||
"family": {
|
||||
"debian": {
|
||||
"redhat-lsb-core": ""
|
||||
},
|
||||
"redhat": {
|
||||
"redhat-lsb-core": "redhat-lsb-core"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user