A typo in the verb that instructs the package whether or not it in a package has the incorrect verb. The verb should be WAXLINUXAGENT_PACKAGED=1 not WALINUXAGENT_PACKAGED=1
This results in two version of the walinuxagent being executed.
A typo in the verb that instructs the package whether or not it in a package has the incorrect verb. PACKAGED= 1 not WALINUXAGENT_ PACKAGED= 1
The verb should be WAXLINUXAGENT_
This results in two version of the walinuxagent being executed.