[Bug 1368497] Re: AMT Power control doesn't handle some passwords
Christian Reis
kiko at async.com.br
Thu Jan 8 14:33:14 UTC 2015
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 at gasolinux:~$ PASS="abc$$def"
kiko at gasolinux:~$ AMT_PASSWORD="$PASS"
kiko at gasolinux:~$ echo $PASS
abc15306def
kiko at gasolinux:~$ echo $AMT_PASSWORD
abc15306def
kiko at gasolinux:~$ PASS='abc$$def'
kiko at gasolinux:~$ AMT_PASSWORD="$PASS"
kiko at gasolinux:~$ echo $AMT_PASSWORD
abc$$def
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in 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
More information about the Ubuntu-server-bugs
mailing list