LTS

    Innovation Version

      Installing and Running EulerLauncher on Windows

      EulerLauncher currently supports Windows 10/11. Download the latest version of EulerLauncher for Windows and decompress it to the desired location. Right-click config-env.bat and choose Run as administrator from the shortcut menu. This script adds the current directory to the system environment variable path. If you know how to configure environment variables or the configuration script is incorrect, you can manually add the directory where the current script is located and the qemu-img subdirectory to the system environment variable path.

      To run EulerLauncher on Windows, you need to connect EulerLauncher to the Hyper-V virtualization backend. Hyper-V is a Microsoft hardware virtualization product that provides better performance for VMs on Windows. Before running EulerLauncher, check whether Hyper-V is enabled in your system. For details about how to check and enable Hyper-V, see Install Hyper-V or other network resources.

      The directory generated after the decompression contains the following files:

      • eulerlauncherd.exe: main process of EulerLauncher. It is a daemon process running in the background. It interacts with various virtualization backends and manages the life cycles of VMs, containers, and images.
      • eulerlauncher.exe: EulerLauncher CLI client. You can use this client to interact with the eulerlauncherd daemon process and perform operations on VMs and images.
      • eulerlauncher-win.conf: EulerLauncher configuration file, which must be stored in the same directory as eulerlauncherd.exe. Configure the file as follows:
      [default]
      # Configure the directory for storing log files.
      log_dir = D:\eulerlauncher-workdir\logs
      # Whether to enable the debug log level.
      debug = True
      # Configure the EulerLauncher working directory.
      work_dir = D:\eulerlauncher-workdir
      # Configure the EulerLauncher image directory. The image directory is relative to the working directory.
      image_dir = images
      # Configure the VM file directory of EulerLauncher. The VM file directory is relative to the working directory.
      instance_dir = instances
      

      After the configuration is complete, right-click eulerlauncherd.exe and choose Run as administrator from the shortcut menu. eulerlauncherd.exe runs as a daemon process in the background.

      Start PowerShell or Terminal to prepare for the corresponding operation.

      Exiting the eulerlauncherd Background Process on Windows

      After eulerlauncherd.exe is executed, the eulerlauncherd icon is displayed in the system tray in the lower right corner of the OS. Right-click the icon in the system tray and choose Exit EulerLauncher from the shortcut menu to exit the eulerlauncherd background process.

      Operations on Images

      1. List available images.

        eulerlauncher.exe images
        
        +-----------+----------+--------------+
        |   Images  | Location |    Status    |
        +-----------+----------+--------------+
        | 22.03-LTS |  Remote  | Downloadable |
        |   21.09   |  Remote  | Downloadable |
        | 2203-load |  Local   |    Ready     |
        +-----------+----------+--------------+
        

        There are two types of EulerLauncher images: remote images and local images. Only local images in the Ready state can be used to create VMs. Remote images can be used only after being downloaded. You can also load a downloaded local image to EulerLauncher. For details, see the following sections.

      2. Download a remote image.

        eulerlauncher.exe download-image 22.03-LTS
        
        Downloading: 22.03-LTS, this might take a while, please check image status with "images" command.
        

        The image download request is an asynchronous request. The download is completed in the background. The time required depends on your network status. The overall image download process includes download, decompression, and format conversion. During the download, you can run the image command to view the download progress and image status at any time.

        eulerlauncher.exe images
        
        +-----------+----------+--------------+
        |   Images  | Location |    Status    |
        +-----------+----------+--------------+
        | 22.03-LTS |  Remote  | Downloadable |
        |   21.09   |  Remote  | Downloadable |
        | 22.03-LTS |  Local   | Downloading  |
        +-----------+----------+--------------+
        

        When the image status changes to Ready, the image is downloaded successfully. The image in the Ready state can be used to create VMs.

        eulerlauncher.exe images
        
        +-----------+----------+--------------+
        |   Images  | Location |    Status    |
        +-----------+----------+--------------+
        | 22.03-LTS |  Remote  | Downloadable |
        |   21.09   |  Remote  | Downloadable |
        | 22.03-LTS |  Local   |    Ready     |
        +-----------+----------+--------------+
        
      3. Load a local image.

        Load a custom image or an image downloaded to the local host to EulerLauncher to create a custom VM.

        eulerlauncher.exe load-image --path {image_file_path} IMAGE_NAME
        

        The supported image formats are xxx.qcow2.xz and xxx.qcow2.

        Example:

        eulerlauncher.exe load-image --path D:\openEuler-22.03-LTS-x86_64.qcow2.xz 2203-load
        
        Loading: 2203-load, this might take a while, please check image status with "images" command.
        

        Load the openEuler-22.03-LTS-x86_64.qcow2.xz file in the D:\ directory to the EulerLauncher system and name it 2203-load. Similar to the download command, the load command is also an asynchronous command. You need to run the image list command to query the image status until the image status is Ready. Compared with directly downloading an image, loading an image is much faster.

        eulerlauncher.exe images
        
        +-----------+----------+--------------+
        |   Images  | Location |    Status    |
        +-----------+----------+--------------+
        | 22.03-LTS |  Remote  | Downloadable |
        |   21.09   |  Remote  | Downloadable |
        | 2203-load |  Local   |   Loading    |
        +-----------+----------+--------------+
        
        eulerlauncher images
        
        +-----------+----------+--------------+
        |   Images  | Location |    Status    |
        +-----------+----------+--------------+
        | 22.03-LTS |  Remote  | Downloadable |
        |   21.09   |  Remote  | Downloadable |
        | 2203-load |  Local   |     Ready    |
        +-----------+----------+--------------+
        
      4. Delete an image.

        Run the following command to delete an image from the EulerLauncher system:

        eulerlauncher.exe delete-image 2203-load
        
        Image: 2203-load has been successfully deleted.
        

      Operations on VMs

      1. List VMs.

        eulerlauncher.exe list
        
        +----------+-----------+---------+---------------+
        |   Name   |   Image   |  State  |       IP      |
        +----------+-----------+---------+---------------+
        |   test1  | 2203-load | Running | 172.22.57.220 |
        +----------+-----------+---------+---------------+
        |   test2  | 2203-load | Running |      N/A      |
        +----------+-----------+---------+---------------+
        

        If the VM IP address is N/A and the VM status is Running, the VM is newly created and the network configuration is not complete. Configuring the network takes several seconds. You can obtain the VM information again later.

      2. Log in to a VM.

        If an IP address has been assigned to a VM, you can run the ssh command to log in to the VM.

        ssh root@{instance_ip}
        

        If the official image provided by the openEuler community is used, the default username is root and the default password is openEuler12#$.

      3. Create a VM.

        eulerlauncher.exe launch --image {image_name} {instance_name}
        

        Use --image to specify an image and a VM name.

      4. Delete a VM.

        eulerlauncher.exe delete-instance {instance_name}
        

        Delete a specified VM based on the VM name.

      Bug Catching

      Buggy Content

      Bug Description

      Submit As Issue

      It's a little complicated....

      I'd like to ask someone.

      PR

      Just a small problem.

      I can fix it online!

      Bug Type
      Specifications and Common Mistakes

      ● Misspellings or punctuation mistakes;

      ● Incorrect links, empty cells, or wrong formats;

      ● Chinese characters in English context;

      ● Minor inconsistencies between the UI and descriptions;

      ● Low writing fluency that does not affect understanding;

      ● Incorrect version numbers, including software package names and version numbers on the UI.

      Usability

      ● Incorrect or missing key steps;

      ● Missing prerequisites or precautions;

      ● Ambiguous figures, tables, or texts;

      ● Unclear logic, such as missing classifications, items, and steps.

      Correctness

      ● Technical principles, function descriptions, or specifications inconsistent with those of the software;

      ● Incorrect schematic or architecture diagrams;

      ● Incorrect commands or command parameters;

      ● Incorrect code;

      ● Commands inconsistent with the functions;

      ● Wrong screenshots.

      Risk Warnings

      ● Lack of risk warnings for operations that may damage the system or important data.

      Content Compliance

      ● Contents that may violate applicable laws and regulations or geo-cultural context-sensitive words and expressions;

      ● Copyright infringement.

      How satisfied are you with this document

      Not satisfied at all
      Very satisfied
      Submit
      Click to create an issue. An issue template will be automatically generated based on your feedback.
      Bug Catching
      编组 3备份