smaqit.infrastructure-vm-bootstrap

Bootstrap Ubuntu VMs for deployment via SSH with cloud-init and Docker checks.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/ruifrvaz/local-image-generator --skill smaqit-infrastructure-vm-bootstrap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smaqit.infrastructure-vm-bootstrap
Source: https://github.com/ruifrvaz/local-image-generator/tree/main/.github/skills/smaqit.infrastructure-vm-bootstrap
Command: npx skills add https://github.com/ruifrvaz/local-image-generator --skill smaqit-infrastructure-vm-bootstrap

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the post-provisioning setup of a new Ubuntu VM, ensuring it's ready for application deployment with the necessary configurations and tools.

Core Features & Use Cases

  • Cloud-Init Verification: Confirms cloud-init completion and handles retries if not done.
  • Data Volume Mounting: Mounts and registers data volumes for persistent storage.
  • App Directory Ownership Fix: Corrects ownership of application directories.
  • .env File Creation: Sets up a secure environment file for application configuration.
  • Docker Group Setup: Adds the user to the Docker group for container management.
  • Smoke Test: Validates the setup with a basic Docker check.

Quick Start

Run the skill with the VM's IP and SSH key: /vm.bootstrap --ip 81.24.10.203 --key ~/.ssh/him_key.

Frequently Asked Questions about smaqit.infrastructure-vm-bootstrap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bootstrap a freshly provisioned Ubuntu VM for application deployment?

To bootstrap an Ubuntu VM for application deployment, the skill automates post-provisioning setup by verifying cloud-init, mounting data volumes, fixing app directory ownership, creating a .env file, and configuring Docker group membership.

What does cloud-init verification do during Ubuntu VM setup?

Cloud-init verification during Ubuntu VM setup confirms that the cloud-init process has successfully finished, automatically handling retries if it has not, which ensures the environment is fully initialized before you proceed with application deployment configurations.

Do I need SSH access to set up Docker and mount data volumes on a new VM?

Yes, you need SSH access to the VM and an SSH key to execute the bootstrap process, which mounts data volumes and adds your user to the Docker group for container management.

Can I use this VM bootstrap process for OpenStack environments with Cinder volumes?

Yes, you can use this VM bootstrap process for OpenStack environments, as it specifically handles Cinder volumes to mount and register persistent data storage required for application deployment.

Why does the VM setup include a smoke test after configuring Docker?

The VM setup includes a smoke test after configuring Docker to validate the overall setup readiness by running a basic Docker check, ensuring the environment is fully prepared and functional before you deploy applications.