How to create a script

Scripts allow you to automatically configure virtual machines: install software, change configuration files, etc. The script can be selected when creating a virtual machine. Then it will be launched immediately after installing the operating system. Also, the script can be run on the created virtual machine. By default, scripts are available from the ISPsystem repository.

To create your own script:

  1. Go to Scripts.
  2. Specify the Name of the script.
  3. Select who is allowed to access the image:
    • Owner;
    • Everyone.
  4. Select Tags to classify the script and its relationship to the OS. The script is available to run on the OS when at least one tag they match.
  5. Provide a Description for the script. It is displayed in the list of scripts.
  6. Specify the body of the bash Script.
  7. Click Create.
  • 24 Users Found This Useful
Was this answer helpful?

Related Articles

How to enter the VPS control panel, find out your IP and password for SSH and VNC

By clicking on the link https://vm.darkhost.pro/, we will be taken to the login page of the VPS...

Recovery mode

Virtual machine (VM) recovery mode - starts a VM with a LiveCD image of the SystemRescueCD...

Backups

A backup is an image of a virtual machine (VM) disk that is used to restore it. Unlike custom...

Operations on virtual machines

Operations are divided into basic and additional. All operations on a virtual machine launched...

What is VNC and how to use it. How to enter a virtual machine on Android

VNS is a system of remote access to a computer desktop. Allows you to transfer keystrokes on the...