openstack heat instances need bash exec on shell login

asked 2016-04-07 20:35:03 -0500

rahulram gravatar image

The VMS created using heat templates are working fine. Though, every time I login using ssh . I need to "exec bash" inorder for .bashrc to take effect. I dont see the same behaviour, if the VM is launched using UI. Is there a setting I am missing in heat ?

The following is my heat configuration

heat_template_version: 2014-10-16

description: Single compute instance

resources:
  my_instance:
    type: OS::Nova::Server
    properties:
      name: test
      key_name: zeus-alerts
      image: Ubuntu Trusty (Zeus)
      flavor: Micro-Small
      admin_user: ubuntu

I am not sure, what I am doing wrong.

edit retag flag offensive close merge delete