# dpkg -l cloud-init | grep cloud
ii cloud-init 22.2-0ubuntu1~18.04.3 all Init scripts for cloud instances
With an user having ksh as shell :
su: /etc/profile.d/Z99-cloud-locale-test.sh[100]: local: not found
su: /etc/profile.d/Z99-cloud-locale-test.sh[100]: local: not found
su: /etc/profile.d/Z99-cloudinit-warnings.sh[29]: local: not found
su: /etc/profile.d/Z99-cloudinit-warnings.sh[29]: local: not found
su: /etc/profile.d/Z99-cloudinit-warnings.sh[29]: local: not found
It isn't fixed for ubuntu 18.04 :
# dpkg -l cloud-init | grep cloud 18.04.3 all Init scripts for cloud instances
ii cloud-init 22.2-0ubuntu1~
With an user having ksh as shell : d/Z99-cloud- locale- test.sh[ 100]: local: not found d/Z99-cloud- locale- test.sh[ 100]: local: not found d/Z99-cloudinit -warnings. sh[29]: local: not found d/Z99-cloudinit -warnings. sh[29]: local: not found d/Z99-cloudinit -warnings. sh[29]: local: not found
su: /etc/profile.
su: /etc/profile.
su: /etc/profile.
su: /etc/profile.
su: /etc/profile.