]> git.proxmox.com Git - pve-docs.git/blobdiff - debian/tree/pve-docs-mediawiki/pve-docs-mediawiki-import
pve-docs-mediawiki-import: import new pve-disk-health-monitoring page
[pve-docs.git] / debian / tree / pve-docs-mediawiki / pve-docs-mediawiki-import
index 9e3ced0797a6fbeab4818600bcaa07e6bfc4ad44..fb8548321c3949ba99be28ea0c9ef7cfb38c3c6d 100755 (executable)
@@ -13,7 +13,7 @@ my $config_fn = "/root/.pve-docs"; # format 'username:pw'
 my $fh = IO::File->new("$config_fn") || 
     die "Please configure the mediawiki user/passswd in '$config_fn'\n";
 
-my $api_url = "http://localhost/api.php";
+my $api_url = "http://localhost/mediawiki/api.php";
 
 my $config = <$fh>;
 chomp $config;
@@ -68,6 +68,42 @@ my $docs = {
        title => "High Availability",
        category => $cat_refdoc,
     },
+    'chapter-pve-installation-plain.html' => {
+       title => "Installation",
+       category => $cat_refdoc,
+    },
+    'section-pve-usbstick-plain.html' => {
+       title => "Install from USB Stick",
+       category => $cat_refdoc,
+    },
+    'section-pve-system-requirements-plain.html' => {
+       title => "System Requirements",
+       category => $cat_refdoc,
+    },
+    'section-getting-help-plain.html' => {
+       title => "Getting Help",
+       category => $cat_refdoc,
+    },
+    'sysadmin-pve-network-plain.html' => {
+       title => "Network Configuration",
+       category => $cat_refdoc,
+    },
+    'sysadmin-pve-disk-health-monitoring-plain.html' => {
+       title => "Disk Health Monitoring",
+       category => $cat_refdoc,
+    },
+    'sysadmin-local-lvm-plain.html' => {
+       title => "Logical Volume Manager (LVM)",
+       category => $cat_refdoc,
+    },
+    'sysadmin-pve-package-repos-plain.html' => {
+       title => "Package Repositories",
+       category => $cat_refdoc,
+    },
+    'sysadmin-system-software-updates-plain.html' => {
+       title => "System Software Updates",
+       category => $cat_refdoc,
+    },
     'chapter-sysadmin-plain.html' => {
        title => "Host System Administration",
        category => $cat_refdoc,
@@ -171,3 +207,7 @@ foreach my $filename (keys %$docs) {
     my $d = $docs->{$filename};
     update_page($d->{title}, $filename, $d->{category});
 }
+
+# also update 'Get support' page, because this is used since a long
+# time and is referenced from outside
+update_page("Get support", 'sysadmin-getting-help-plain.html', 'HOWTO');