[ubuntu-cloud] default /home/ubuntu/.bashrc

Hedge Hog hedgehogshiatus at gmail.com
Tue Jan 31 19:42:45 UTC 2012


Hi,
In the current AMI's at cloud.ubuntu.com (search:lucid 64 ebs) the
default bashrc has:

   [ -z "$PS1" ] && return

Which of course means that it is not trivial to append to the .bashrc

Naturally this default setting is sensible for people logged in, and
interactive cloud instances are an important use case.
However,  but since these amis are the same as at[0], whose url
suggests server use acses, I wonder if it isn't reasonable to have the
default bashrc without this early return?

For the record I'm trying to get the AMI to the point where I install
Chef-solo, with the particular ruby install I need, and then can hand
off all these sorts of issues to chef-solo.

Have I missed a trick, or some AMI that doesn't have this behavior as default?
I'd be interested in hearing how others handle this.

Best wishes

-- 
πόλλ' οἶδ ἀλώπηξ, ἀλλ' ἐχῖνος ἓν μέγα
[The fox knows many things, but the hedgehog knows one big thing.]
  Archilochus, Greek poet (c. 680 BC – c. 645 BC)
http://hedgehogshiatus.com



More information about the Ubuntu-cloud mailing list