This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Start iVentoy web interface for first time | |
| sudo bash iventoy.sh start | |
| # Start iVentoy Web interface and service (no need to press green button) | |
| sudo bash iventoy.sh -R start | |
| # Transfer ISO image from local machine to PXE Boot Server | |
| scp thefilename.iso username@ipaddress:/isopath | |
| # Create symbolic link so that ISOs can be saved somewhere else but seen by iVentoy | |
| # iVentoy needs to see ISOs in the "iso" folder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| movefrom='micronssd' | |
| moveto='wdredpro' | |
| for vm in $(qm list | awk '{print $1}' | grep -Eo '[0-9]{1,3}'); | |
| do | |
| for storage in $(qm config $vm | grep $movefrom: | awk '{print $1}' | grep -Eo '[a-z0-9]+'); | |
| do | |
| echo Moving VM$vm Storage $storage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <VirtualHost *:80> | |
| # The ServerName directive sets the request scheme, hostname and port that | |
| # the server uses to identify itself. This is used when creating | |
| # redirection URLs. In the context of virtual hosts, the ServerName | |
| # specifies what hostname must appear in the request's Host: header to | |
| # match this virtual host. For the default virtual host (this file) this | |
| # value is not decisive as it is used as a last resort host regardless. | |
| # However, you must set it for any further virtual host explicitly. | |
| #ServerName www.example.com |