EMCLI throws error after RU25?
OEM 13.5 RU25
Hi,
I have used this many times to set lifecycle status, but after RU25 is throws an error:
emcli get_targets -noheader -format='name:script;column_separator:|;' -targets='%host%' | awk -F| '{print $4":"$3":LifeCycle Status:Production"}' > /tmp/targets
cat /tmp/targets
myhost1.domain.com:host:LifeCycle Status:Production
myhost2.domain.com:host:LifeCycle Status:Production
emcli set_target_property_value -property_records="REC_FILE" -input_file="/tmp/targets" -separator=property_records="\n"
Syntax Error: Invalid value for parameter "input_file": "/tmp/targets". Reason: "/tmp/targets" is not a name-value pair.
Anyone knows what can have changed?