post-install: use basename of path in generateldif.sh to define file from elsewhere
This commit is contained in:
parent
a5f0695bbb
commit
cdc2546448
|
@ -54,6 +54,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
* base: use a template for ntp configuration to ease the management of the different cases
|
* base: use a template for ntp configuration to ease the management of the different cases
|
||||||
* logsentry: update config files, add "[logsentry]" in subject, and simplify task
|
* logsentry: update config files, add "[logsentry]" in subject, and simplify task
|
||||||
* nagios-nrpe: deleted unused variables and added a ntp check server variable
|
* nagios-nrpe: deleted unused variables and added a ntp check server variable
|
||||||
|
* post-install: use basename of path in generateldif.sh to define file from elsewhere
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ ${opensshFingerprintED25519}${opensshFingerprintED25519:+;}${opensshFingerprintE
|
||||||
ldif_file="/root/${EvoComputerName}.$(date +"%Y%m%d%H%M%S").ldif"
|
ldif_file="/root/${EvoComputerName}.$(date +"%Y%m%d%H%M%S").ldif"
|
||||||
|
|
||||||
cat<<EOT>"${ldif_file}"
|
cat<<EOT>"${ldif_file}"
|
||||||
# ldapvi --profile evolix --add --in ${ldif_file}
|
# ldapvi --profile evolix --add --in $(basename ${ldif_file})
|
||||||
|
|
||||||
dn: EvoComputerName=${EvoComputerName},ou=computer,dc=evolix,dc=net
|
dn: EvoComputerName=${EvoComputerName},ou=computer,dc=evolix,dc=net
|
||||||
dnsArecord: $EvoComputerName
|
dnsArecord: $EvoComputerName
|
||||||
|
|
Loading…
Reference in New Issue