Skip to content

Conversation

@victormlg
Copy link
Contributor

depends on #151

@cf-bottom
Copy link

Thank you for submitting a pull request! Maybe @larsewi can review this?

Copy link
Contributor

@larsewi larsewi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$ cf-remote spawn --platform rhel --count 1 --role hub --name hub
Spawning VMs...Spawning new platform 'rhel' VM in AWS (AMI: ami-0115edc114ab801d9, size=t2.xlarge)
.DONE
Waiting for VMs to get IP addresses....DONE
Details about the spawned VMs can be found in /home/larsewi/.cfengine/cf-remote/cloud_state.json
$ cf-remote --version master install --hub hub --bootstrap hub

[email protected]
OS           : RHEL 9
Architecture : x86_64
CFEngine     : Not installed
Private IP   : 172.31.39.29
Binaries     : rpm, yum, curl

Package '/home/larsewi/.cfengine/cf-remote/packages/cfengine-nova-hub-3.27.0a.6c5002465-3613.el9.x86_64.rpm' already downloaded
Copying: '/home/larsewi/.cfengine/cf-remote/packages/cfengine-nova-hub-3.27.0a.6c5002465-3613.el9.x86_64.rpm' to '[email protected]'
[34.244.56.5]:+ /home/larsewi/.cfengine/cf-remote/packages/cfengine-nova-hub-3.27.0a.6c5002465-3613.el9.x86_64.rpm -> cfengine-nova-hub-3.27.0a.6c5002465-3613.el9.x86_64.rpm
Installing: 'cfengine-nova-hub-3.27.0a.6c5002465-3613.el9.x86_64.rpm' on '[email protected]'
##########################################################################
CFEngine Mission Portal first time setup:

Navigate to Mission Portal in your browser (using the hub's IP / hostname)
and enter the setup code below when prompted for it:

Setup code: 171927

Note: This code will expire in one hour or after 5 unsuccessful attempts,
if needed, run 'cf-hub --new-setup-code' again on the hub for a new code.
##########################################################################
CFEngine 3.27.0a.6c5002465 (Enterprise) was successfully installed on '[email protected]'
Bootstrapping: '34.244.56.5' -> '172.31.39.29'
Bootstrap successful: '34.244.56.5' -> '172.31.39.29'

It works! Maybe a newline before the first #########... and after the last #########... would make it look a little bit nicer.

Ticket: ENT-13009
Signed-off-by: Victor Moene <[email protected]>
@victormlg victormlg requested a review from larsewi August 22, 2025 11:16
@larsewi larsewi merged commit 8ca0351 into cfengine:master Aug 25, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants