After changing from ubuntu to debian, testing was never updated to validate that the hostname was not ubuntu. Since we support simple-init, we should check for multiple default OS names and fail accordingly if they are found. Additionally, changed the default testing user to root as simple init writes the key to the root user's authorized_keys file. Change-Id: Icce62d0b9256188dbc9b49d948c99bb0c469ae6b
1.2 KiB
bifrost-test-vm
Gathers facts from nodes in the testvm group which is added by the bifrost-prepare-for-test role.
Requirements
None at this time. See Dependencies.
Role Variables
None at this time. See Dependencies.
Dependencies
This role is intended to be executed as part of BiFrost, after the bifrost-prepare-for-test role, as part of the test sequence.
Example Playbook
hosts: testvm name: "Tests connectivity to the VM" sudo: no gather_facts: yes remote_user: root roles: - role: bifrost-test-vm
License
Copyright (c) 2015 Hewlett-Packard Development Company, L.P.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Author Information
Ironic Developers