mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-12 02:39:17 +00:00
Merge branch 'main' of github.com:BramSuurdje/ProxmoxVE
This commit is contained in:
commit
463cd4cd22
@ -14,7 +14,7 @@ export default function DefaultSettings({ item }: { item: Script }) {
|
||||
(method) => method.type === "alpine",
|
||||
);
|
||||
|
||||
const convertMBtoGB = (value: number) => {
|
||||
const getDisplayValueFromRAM = (ram: number) => {
|
||||
if (value >= 1024) {
|
||||
return (value / 1024).toFixed(0) + "GB";
|
||||
}
|
||||
|
@ -3,7 +3,7 @@ import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
|
||||
import { basePath } from "@/config/siteConfig";
|
||||
import { Script } from "@/lib/types";
|
||||
|
||||
const generateInstallCommand = (script?: string) => {
|
||||
const getInstallCommand = (scriptPath?: string) => {
|
||||
return `bash -c "$(wget -qLO - https://github.com/community-scripts/${basePath}/raw/main/${script})"`;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user