This project sends RVTools file exported from your VMware infrastructure by mail using Wine and Docker
Coming soon
- Sends
.xlsx
file exported from RVTools to a mail address of your choice - Only needs Docker to work, everything else is automated!
- More coming soon...
Please make sure you have the following prerequisites:
Show details for RVTools
Name: RVTools 4.2.2
File name: RVTools4.2.2.msi
File Size: 6.7 MB
SHA-256 Checksum: bb947325f9b58b715bcb5dd761ec8156b01d0fa07f4a0baeefa0ed75779bdc41
Published: 2021-12-29
Clone the repository:
git clone https://github.com/canalplustelecom/rvtools-wine.git
cd rvtools-wine
To update the source code to the latest commit, run the following command inside the rvtools-wine
directory:
git pull
-
Add the installer file
RVTools4.2.2.msi
inside project's folder. -
Create a copy of
.env.sh.template
to.env.sh
and modify the file so the variables match with your environment:
cp .env.sh.template .env.sh
vi .env.sh
- Create a copy of
.message.txt.template
to.message.txt
and modify the file with the message you want to send (supports environment variables):
cp .message.txt.template .message.txt
vi .message.txt
- If you have Docker installed you just have to type the following commands and wait approximately 15 minutes for the program to run completely (after building the image).
# Build Docker image
docker build -t cpt/rvtools-wine .
# Run the image inside a container
docker run -d --rm cpt/rvtools-wine
A typical usage could be to run the command above each week with crontab
:
# Edit your cron tasks
crontab -e
# Add the project's command to this file and whatever else you want
54 1 * * 2 docker run -d --rm cpt/rvtools-wine >> /var/log/rvtools-wine.log 2>&1
@weekly date >> /var/log/beforereboot.log && /sbin/shutdown -r +5
- scottyhardy (creator of the image that NyaMisty based his image on, source: https://github.com/scottyhardy/docker-wine)
- NyaMisty (creator of the image with DotNET integrated I based this project on, source: https://github.com/NyaMisty/docker-wine-dotnet & https://hub.docker.com/r/nyamisty/docker-wine-dotnet)
- GERARD Angelo