From Fedora Project Wiki
< User:Roshi | QA/AtomicTests
m (internal link cleaning) |
(updated for f28) |
||
Line 6: | Line 6: | ||
# Make sure that your security group allows for SSH (default tcp port 22) | # Make sure that your security group allows for SSH (default tcp port 22) | ||
# The following User-data can be used: | # The following User-data can be used: | ||
#cloud-config | <nowiki> | ||
#cloud-config | |||
password: passw0rd | |||
chpasswd: { expire: False } | |||
ssh_pwauth: True | |||
</nowiki> | |||
|actions= | |actions= | ||
# Boot image with proper user-data | # Boot image with proper user-data | ||
Line 21: | Line 20: | ||
# The image launches successfully | # The image launches successfully | ||
# You can login to the instance over SSH as <code>fedora</code> and you have sudo access | # You can login to the instance over SSH as <code>fedora</code> and you have sudo access | ||
# docker | # docker should be installed | ||
# The instance doesn't crash or show any errors | # The instance doesn't crash or show any errors | ||
}} | }} |
Revision as of 02:53, 11 April 2018
Description
A simple validation test case for Fedora Atomic Hosts.
Setup
- This testcase can be run locally with testCloud or on a cloud provider (Openstack or EC2).
- Make sure that your security group allows for SSH (default tcp port 22)
- The following User-data can be used:
#cloud-config password: passw0rd chpasswd: { expire: False } ssh_pwauth: True
How to test
- Boot image with proper user-data
- SSH into booted image
- Check if docker is installed
rpm -q docker
Expected Results
- The image launches successfully
- You can login to the instance over SSH as
fedora
and you have sudo access - docker should be installed
- The instance doesn't crash or show any errors