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.
  • 39 Users Found This Useful
Was this answer helpful?

Related Articles

Backups

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

SSH Keys

SSH keys are a pair of private and public keys. Private key - secret information stored by the...

Operations on virtual machines

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

VPS connection via SSH

To connect, we need data, if you don't know where to get it, don't worry, everything is here.We...

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...