Could this be caused by improper quoting in the script which invokes
amttool?
power_pass={{power_pass}}
[...]
issue_amt_command() {
LC_ALL='C' AMT_PASSWORD="$power_pass" amttool "$ip_address" "$@"
}
Though if the ShellTemplate is quoting this correctly, it shouldn't be a
problem:
kiko@gasolinux:~$ PASS="abc$$def"
kiko@gasolinux:~$ AMT_PASSWORD="$PASS"
kiko@gasolinux:~$ echo $PASS
abc15306def
kiko@gasolinux:~$ echo $AMT_PASSWORD
abc15306def
kiko@gasolinux:~$ PASS='abc$$def'
kiko@gasolinux:~$ AMT_PASSWORD="$PASS"
kiko@gasolinux:~$ echo $AMT_PASSWORD
abc$$def
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1368497
Title:
AMT Power control doesn't handle some passwords
To manage notifications about this bug go to:
https://bugs.launchpad.net/maas/+bug/1368497/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs