Use heredoc instead of echo statements to avoid backslash escaping issues that caused bash parsing errors.
Fix the build.func source URL to use ProxmoxVED instead of ProxmoxVE, allowing the scripts to actually run in this repository.