diff --git a/database/Seeders/NestSeeder.php b/database/Seeders/NestSeeder.php index 4d2803e28..acf0efaf1 100644 --- a/database/Seeders/NestSeeder.php +++ b/database/Seeders/NestSeeder.php @@ -44,6 +44,7 @@ class NestSeeder extends Seeder $this->createSourceEngineNest(array_get($items, 'Source Engine')); $this->createVoiceServersNest(array_get($items, 'Voice Servers')); $this->createRustNest(array_get($items, 'Rust')); + $this->createVintageStoryNest(array_get($items, 'Vintage Story')); } /** @@ -105,4 +106,20 @@ class NestSeeder extends Seeder ], 'support@pterodactyl.io'); } } + + /** + * Create the Vintage Story nest to be used later on. + * + * @throws \Pterodactyl\Exceptions\Model\DataValidationException + */ + private function createVintageStoryNest(?array $nest = null) + { + if (is_null($nest)) { + $this->creationService->handle([ + 'name' => 'Vintage Story', + 'description' => 'Vintage Story - An uncompromising wilderness survival sandbox game.', + ], 'support@pterodactyl.io'); + } + } + } diff --git a/database/Seeders/eggs/OtherGames/egg-vintage-story.json b/database/Seeders/eggs/vintage-story/egg-vintage-story.json similarity index 100% rename from database/Seeders/eggs/OtherGames/egg-vintage-story.json rename to database/Seeders/eggs/vintage-story/egg-vintage-story.json diff --git a/vagrant/provision.sh b/vagrant/provision.sh index 28375f728..7088676e0 100755 --- a/vagrant/provision.sh +++ b/vagrant/provision.sh @@ -291,7 +291,7 @@ log Installing rustic for Elytra backups if [ ! -f /usr/local/bin/rustic ]; then apt-get install -y libfuse2 ARCH=$(uname -m); [[ $ARCH == x86_64 ]] && ARCH=x86_64 || ARCH=aarch64 - curl -fsSL -o /tmp/rustic.tar.gz "https://github.com/rustic-rs/rustic/releases/latest/download/rustic-v0.10.0-${ARCH}-unknown-linux-musl.tar.gz" + curl -fsSL -o /tmp/rustic.tar.gz "https://github.com/rustic-rs/rustic/releases/download/v0.10.0/rustic-v0.10.0-${ARCH}-unknown-linux-musl.tar.gz" tar -xf /tmp/rustic.tar.gz -C /tmp rustic mv /tmp/rustic /usr/local/bin/ chmod +x /usr/local/bin/rustic