-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
363 additions
and
1,622 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 15 | ||
VisualStudioVersion = 15.0.26124.0 | ||
MinimumVisualStudioVersion = 15.0.26124.0 | ||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{C6B0694C-362C-4BEE-8EBA-28ECF5780D57}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Corsinvest.ProxmoxVE.AutoSnap", "src\Corsinvest.ProxmoxVE.AutoSnap\Corsinvest.ProxmoxVE.AutoSnap.csproj", "{6D4D450B-25C7-4CC8-AFB5-3EFCBD32EC37}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Debug|x64 = Debug|x64 | ||
Debug|x86 = Debug|x86 | ||
Release|Any CPU = Release|Any CPU | ||
Release|x64 = Release|x64 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{6D4D450B-25C7-4CC8-AFB5-3EFCBD32EC37}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{6D4D450B-25C7-4CC8-AFB5-3EFCBD32EC37}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{6D4D450B-25C7-4CC8-AFB5-3EFCBD32EC37}.Debug|x64.ActiveCfg = Debug|Any CPU | ||
{6D4D450B-25C7-4CC8-AFB5-3EFCBD32EC37}.Debug|x64.Build.0 = Debug|Any CPU | ||
{6D4D450B-25C7-4CC8-AFB5-3EFCBD32EC37}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{6D4D450B-25C7-4CC8-AFB5-3EFCBD32EC37}.Debug|x86.Build.0 = Debug|Any CPU | ||
{6D4D450B-25C7-4CC8-AFB5-3EFCBD32EC37}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{6D4D450B-25C7-4CC8-AFB5-3EFCBD32EC37}.Release|Any CPU.Build.0 = Release|Any CPU | ||
{6D4D450B-25C7-4CC8-AFB5-3EFCBD32EC37}.Release|x64.ActiveCfg = Release|Any CPU | ||
{6D4D450B-25C7-4CC8-AFB5-3EFCBD32EC37}.Release|x64.Build.0 = Release|Any CPU | ||
{6D4D450B-25C7-4CC8-AFB5-3EFCBD32EC37}.Release|x86.ActiveCfg = Release|Any CPU | ||
{6D4D450B-25C7-4CC8-AFB5-3EFCBD32EC37}.Release|x86.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(NestedProjects) = preSolution | ||
{6D4D450B-25C7-4CC8-AFB5-3EFCBD32EC37} = {C6B0694C-362C-4BEE-8EBA-28ECF5780D57} | ||
EndGlobalSection | ||
EndGlobal |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
@ECHO OFF | ||
|
||
REM Corsinvest automatic snapshot for Proxmox VE cv4pve-autosnap hook script. | ||
REM Process environment variables as received from and set by cv4pve-autosnap. | ||
|
||
ECHO CV4PVE_AUTOSNAP_PHASE: %CV4PVE_AUTOSNAP_PHASE% | ||
ECHO CV4PVE_AUTOSNAP_VMID: %CV4PVE_AUTOSNAP_VMID% | ||
ECHO CV4PVE_AUTOSNAP_VMTECHNOLOGY: %CV4PVE_AUTOSNAP_VMTECHNOLOGY% | ||
ECHO CV4PVE_AUTOSNAP_LABEL: %CV4PVE_AUTOSNAP_LABEL% | ||
ECHO CV4PVE_AUTOSNAP_KEEP: %CV4PVE_AUTOSNAP_KEEP% | ||
ECHO CV4PVE_AUTOSNAP_VMSTATE: %CV4PVE_AUTOSNAP_VMSTATE% | ||
ECHO CV4PVE_AUTOSNAP_SNAP_NAME: %CV4PVE_AUTOSNAP_SNAP_NAME% | ||
ECHO CV4PVE_AUTOSNAP_DEBUG: %CV4PVE_AUTOSNAP_DEBUG% | ||
ECHO CV4PVE_AUTOSNAP_DRY_RUN: %CV4PVE_AUTOSNAP_DRYRUN% | ||
|
||
IF "%CV4PVE_AUTOSNAP_PHASE%"=="clean-job-start" ( | ||
REM | ||
) ELSE IF "%CV4PVE_AUTOSNAP_PHASE%"=="clean-job-end" ( | ||
REM | ||
) ELSE IF "%CV4PVE_AUTOSNAP_PHASE%"=="snap-job-start" ( | ||
REM | ||
) ELSE IF "%CV4PVE_AUTOSNAP_PHASE%"=="snap-job-end" ( | ||
REM | ||
) ELSE IF "%CV4PVE_AUTOSNAP_PHASE%"=="snap-create-pre" ( | ||
REM | ||
) ELSE IF "%CV4PVE_AUTOSNAP_PHASE%"=="snap-create-post" ( | ||
REM | ||
) ELSE IF "%CV4PVE_AUTOSNAP_PHASE%"=="snap-create-abort" ( | ||
REM | ||
) ELSE IF "%CV4PVE_AUTOSNAP_PHASE%"=="snap-remove-pre" ( | ||
REM | ||
) ELSE IF "%CV4PVE_AUTOSNAP_PHASE%"=="snap-remove-post" ( | ||
REM | ||
) ELSE IF "%CV4PVE_AUTOSNAP_PHASE%"=="snap-remove-abort" ( | ||
REM | ||
) ELSE ( | ||
ECHO "unknown phase '$CV4PVE_BARC_PHASE'" | ||
EXIT 1 | ||
) |
This file contains 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
File renamed without changes.
This file contains 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
57 changes: 23 additions & 34 deletions
57
...Snap/Corsinvest.ProxmoxVE.AutoSnap.csproj → ...Snap/Corsinvest.ProxmoxVE.AutoSnap.csproj
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,24 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<Version>1.2.0</Version> | ||
<TargetFramework>netcoreapp2.2</TargetFramework> | ||
<AssemblyName>cv4pve-autosnap</AssemblyName> | ||
<Company>Corsinvest Srl</Company> | ||
<Authors>Daniele Corsini</Authors> | ||
<Copyright>Corsinvest Srl</Copyright> | ||
<Product>Corsinvest for Proxmox VE Auto Snapshot</Product> | ||
<AssemblyTitle>Corsinvest for Proxmox VE Auto Snapshot</AssemblyTitle> | ||
<Description>Corsinvest for Proxmox VE Auto Snapshot</Description> | ||
<PublishTrimmed>true</PublishTrimmed> | ||
<!-- | ||
<PublishTrimmed>true</PublishTrimmed> | ||
<PublishReadyToRun>true</PublishReadyToRun> | ||
<PublishSingleFile>true</PublishSingleFile> | ||
--> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Content Include="cv4pve-autosnap.sh" CopyToPublishDirectory="PreserveNewest"> | ||
<LinuxPath>/usr/sbin/cv4pve-autosnap</LinuxPath> | ||
<LinuxFileMode>775</LinuxFileMode> | ||
</Content> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<!-- | ||
<ProjectReference Include="..\..\..\..\cv4pve-api-dotnet\src\Corsinvest.ProxmoxVE.Api.Extension\Corsinvest.ProxmoxVE.Api.Extension.csproj" /> | ||
--> | ||
<PackageReference Include="Corsinvest.ProxmoxVE.Api.Extension" Version="1.2.0" /> | ||
<PackageReference Include="Packaging.Targets" Version="0.1.80" /> | ||
</ItemGroup> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<Version>1.3.0</Version> | ||
<TargetFramework>netcoreapp3.0</TargetFramework> | ||
<AssemblyName>cv4pve-autosnap</AssemblyName> | ||
<Company>Corsinvest Srl</Company> | ||
<Authors>Daniele Corsini</Authors> | ||
<Copyright>Corsinvest Srl</Copyright> | ||
<Product>Corsinvest for Proxmox VE Auto Snapshot</Product> | ||
<AssemblyTitle>Corsinvest for Proxmox VE Auto Snapshot</AssemblyTitle> | ||
<Description>Corsinvest for Proxmox VE Auto Snapshot</Description> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<!-- Fix RedHat, Centos,Fedora --> | ||
<RuntimeHostConfigurationOption Include="System.Globalization.Invariant" Value="true" /> | ||
|
||
<!-- | ||
<ProjectReference Include="..\..\..\..\cv4pve-api-dotnet\src\Corsinvest.ProxmoxVE.Api.Extension\Corsinvest.ProxmoxVE.Api.Extension.csproj" /> | ||
--> | ||
<PackageReference Include="Corsinvest.ProxmoxVE.Api.Extension" Version="2.0.0" /> | ||
</ItemGroup> | ||
</Project> |
Oops, something went wrong.