Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require("pve2_api.class.php");
- $pve2 = new PVE2_API("192.168.169.1", "putu", "pam", "12345678");
- if ($pve2->login())
- {
- $pve2->setCookie();
- echo '<iframe src="https://192.168.169.1:8006/?console=kvm&novnc=1&vmid=100&node=pve" frameborder="0" scrolling="no" width="1024px" height="100%"></iframe>';
- }
- else
- {
- die("Login to Proxmox Host failed.\n");
- }
Add Comment
Please, Sign In to add comment