Ask Your Question
0

What is the default username and password for Debain 8 x64 (pre-installed murano-agent) / debian-8-m-agent.qcow2 ?

asked 2016-10-06 01:34:35 -0500

joy gravatar image

When I deploy a mysql application with Murano, the Debain 8 x64 (pre-installed murano-agent) image automatically create an instance, but I do not know the login and password.

edit retag flag offensive close merge delete

Comments

most probably its debian

Bipin gravatar imageBipin ( 2016-10-06 03:43:32 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-10-06 04:22:38 -0500

dbaxps gravatar image

updated 2016-10-06 04:32:47 -0500

Proceed as follows
Password is not needed when you log into VM via ssh-keypair been used when booting VM

[root@fedora24wks ~]# yum install libguestfs-tools
[root@fedora24wks ~]# export LIBGUESTFS_BACKEND=direct
[root@fedora24wks ~]# guestfish --rw -a debian-8-m-agent.qcow2
Type: 'help' for help on commands
      'man' to read the manual
      'quit' to quit the shell
><fs> run
><fs> list-filesystems
/dev/sda1: ext4
><fs> mount /dev/sda1 /

><fs> run
><fs> list-filesystems
/dev/sda1: ext4
><fs> mount /dev/sda1 /

><fs> cat /etc/cloud/cloud.cfg
# The top level settings are used as module
# and system configuration.

# A set of users which may be applied and/or used by various modules
# when a 'default' entry is found it will reference the 'default_user'
# from the distro configuration specified below
users:
   - default

# If this is set, 'root' will not be able to ssh in and they 
# will get a message to login instead as the above $user (ubuntu)
disable_root: true

# This will cause the set+update hostname module to not operate (if true)
preserve_hostname: false

# Example datasource config
# datasource: 
#    Ec2: 
#      metadata_urls: [ 'blah.com' ]
#      timeout: 5 # (defaults to 50 seconds)
#      max_wait: 10 # (defaults to 120 seconds)

# The modules that run in the 'init' stage
cloud_init_modules:
 - migrator
 - bootcmd
 - write-files
 - resizefs
 - set_hostname
 - update_hostname
 - update_etc_hosts
 - ca-certs
 - rsyslog
 - users-groups
 - ssh

# The modules that run in the 'config' stage
cloud_config_modules:
# Emit the cloud config ready event
# this can be used by upstart jobs for 'start on cloud-config'.
 - emit_upstart
 - mounts
 - ssh-import-id
 - locale
 - set-passwords
 - grub-dpkg
 - apt-pipelining
 - apt-configure
 - package-update-upgrade-install
 - landscape
 - timezone
 - puppet
 - chef
 - salt-minion
 - mcollective
 - disable-ec2-metadata
 - runcmd
 - byobu

# The modules that run in the 'final' stage
cloud_final_modules:
 - rightscale_userdata
 - scripts-per-once
 - scripts-per-boot
 - scripts-per-instance
 - scripts-user
 - ssh-authkey-fingerprints
 - keys-to-console
 - phone-home
 - final-message
 - power-state-change

# System and/or distro specific settings
# (not accessible to handlers/transforms)
system_info:
   # This will affect which distro class gets used
   distro: debian
   # Default user name + that default users groups (if added/used)
   default_user:
     name: debian  <======== answers question
     lock_passwd: True
     gecos: Debian
     groups: [adm, audio, cdrom, dialout, floppy, video, plugdev, dip]
   # Other config here will be given to the distro class and/or path classes
   paths:
      cloud_dir: /var/lib/cloud/
      templates_dir: /etc/cloud/templates/
      upstart_dir: /etc/init/
   package_mirrors:
     - arches: [default]
       failsafe:
         primary: http://ftp.debian.org/debian
edit flag offensive delete link more

Comments

Dbaxps, thank you for you answer. I can log into VM via ssh-keypair.

joy gravatar imagejoy ( 2016-10-10 03:22:48 -0500 )edit
0

answered 2016-10-10 03:21:41 -0500

joy gravatar image

Dbaxps, Thank you for you answer. I can log into VM via ssh-keypair.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-10-06 01:34:35 -0500

Seen: 2,106 times

Last updated: Oct 10 '16